| |
| |
| |
|
Page: 1 2
Comments:
<0> nop...dos't work :( <1> HI All <1> I'm trying to add a new chain to my current iptables rules. That would forward all TCP requests that I receive on tcp:77 to localhost:80 . Any idea how to do that? I am able to block/filter ports but can not get this port forwarding to work.
<2> use REDIRECT instead of DNAT <2> or tell us what commands you are trying <1> iptables -A INPUT -p tcp --dport 77 -j REDIRECT --to-ports 80 <2> no <2> put that in PREROUTING <1> iptables -A PREROUTING -p tcp --dport 77 -j REDIRECT --to-ports 80 <1> like this? <2> iptables -t nat -A PREROUTING -p tcp --dport 77 -j REDIRECT --to-ports 80 <1> danieldg: thanks so much. let me try that <0> danieldg can u help me pls ? <1> danieldg: it worked :) <2> tziku: iptables -I INPUT -p icmp -s 83.103.187.103 -j DROP
<0> dosn't work :(( <2> how can you tell? <0> what ? i write that but i have same trafic from same ip... <2> iptables can't magically stop traffic from an IP, it just blocks it <0> oh...ok thx :) <3> if iptables was cool it would reach out to an ip address and shut it off if I said so <3> fry its nic or something <2> iptables -j FRY <0> exist this: iptables -I OUTPUT -p icmp -s 83.103.187.103 -j DROP <0> ? <0> with OUTPUT <2> you'd want to use -d, but yes
Return to
#iptables or Go to some related
logs:
HERBOVE #math yup.rpm suse x11vnc xdm gentoo #lisp rkhunter install postfix synaptic #physics isobuster in linux +gparted +slow performance apsx2
|
|