/srv/irclogs.ubuntu.com/2021/03/24/#ubuntu-us-mi.txt

cmaloneyCHC tonight12:39
cmaloneyhttps://gettogether.community/events/10370/coffee-house-coders-regular-meeting/12:41
waldo323i'm looking into figuring out why one machine can't get to specific ports on another, iptables is likely the culprit but there is another machine which is able to connect which appears to have the same rules in iptables, does anyone have troubleshooting ideas for checking how my traffic is getting blocked?16:58
cmaloneyYou could do a netstat17:00
cmaloneyalso try a telnet to see if you're getting blocked17:01
cmaloneycheck the rules on the target machine to see if there's something getting in the way17:02
waldo323i see "filtered" when checking the port with nmap from the machine that can't get to that port and "open" from a machine that can get through17:04
cmaloneySo it is getting dropped17:06
cmaloneyYou can check the logging on the target machine17:06
waldo323 from iptables -S: -A INPUT -s x.x.x.x/32 -p tcp -m tcp --dport 10050:10051 -m state --state NEW -j ACCEPT and -A Cidxxxxx -s x.x.x.x/32 -j ACCEPT17:06
waldo323thanks, i wasn't sure which log to look in, grep was helpful there though17:09
cmaloneyYeah, I didn't remember which log it was. Syslog is usually the default bucket17:12
cmaloneythough I'm sure systemd has some logging as well17:12
waldo323messages seems to have many, but also shows blocks for the machine that seemed to be working17:14
waldo323seems like something was stuck or cached somehow, we reapplied the ansible job which setup the rules (with no changes to the ansible job) and now that machine can connect?17:28
waldo323thank you17:33
cmaloneyNice.17:51
cmaloneyyw17:52

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!