Server can't send :-/
<-sorry for double mail, i just got mixed up with my Mail Adresses sorry ->
Hi List,
I got that Configuration of my Firewall:
http://warpy.yomeganet.biz/fw.txt
It seemed to be nice, everything worked but then i tried to initiate outbound Traffic from my Server via SSH. The result: I can't establish any connection from my to an another, except DNS (via UDP?). What did i wrong?
Thank you in advance!
Stephan
Am Mit, 2003-09-03 um 09.41 schrieb Stephan Kessler:
Quoted 9 lines
Hi List,
I got that Configuration of my Firewall:
http://warpy.yomeganet.biz/fw.txtIt seemed to be nice, everything worked but then i tried to initiate outbound Traffic from my Server via SSH. The result: I can't establish any connection from my to an another, except DNS (via UDP?). What did i wrong?
I suspect your machine is warpy.yomeganet.biz. The last input rule drops all incoming tcp-traffic. You a just accepting traffic going to 22,80,21,20,etc.
Since I do not actually understand your ruleset, you just might want to insert the following rule before this DROP rule
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
Cheers,
Ralf
Signature · 6 lines
Ralf Spenneberg RHCE, RHCX Book: Intrusion Detection für Linux Server http://www.spenneberg.com IPsec-Howto http://www.ipsec-howto.org Honeynet Project Mirror: http://honeynet.spenneberg.org
Quoted 7 lines
I suspect your machine is warpy.yomeganet.biz. The last input rule drops all incoming tcp-traffic. You a just accepting traffic going to 22,80,21,20,etc. Since I do not actually understand your ruleset, you just might want to insert the following rule before this DROP rule
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
Thx thats it!
Greetings,
Stephan
in reality, just to conserve rule scans and sanity, you want
related,established rules to be at the TOP of the list ... once the conntrack has been accepted you don't want to have it fall through a list of rules.
Quoted 11 lines · Stephan Kessler
Quoted 6 lines
I suspect your machine is warpy.yomeganet.biz. The last input rule drops all incoming tcp-traffic. You a just accepting traffic going to 22,80,21,20,etc. Since I do not actually understand your ruleset, you just might want to insert the following rule before this DROP rule
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPTThx thats it!
Greetings,
Stephan
Signature · 6 lines
Alistair Tonner
nerdnet.ca
Senior Systems Analyst - RSS
Any sufficiently advanced technology will have the appearance of magic.
Lets get magical!