Re: Forwarding help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Nov 2003 sc2@xxxxxx wrote:

||hello
||i use iptables .7, but it does not work (forward) , any ideas?
||thank you ,
||ps: same rules down i have make for tcp match not only for udp
||
||echo "1" > /proc/sys/net/ipv4/ip_forward
||iptables -F FORWARD
||iptables -t nat -F
||iptables -A FORWARD -j LOG
||iptables -A FORWARD -p udp -d ip --dport port -j ACCEPT
||iptables -t nat -A PREROUTING -p udp -d ip --dport port -j DNAT --to
||ip:port

iptables -t nat -A PREROUTING -p udp -d ip --dport port -j DNAT --to-destination
ip


||
||

+ Lucas de Camargo Zechim
+ Administrador TI
+
+ phone: 55 19 3492 8894
+
+  CNEC Capivari
+   Rua Barão do Rio Branco, 374
+   13360-000
+   Capivari / São Paulo / Brasil
+
+ email by pine 4.58 / Slackware Linux 9.1 / kernel 2.4.22-xfs
+ "Os poderosos podem matar uma, duas ou três rosas, mas
+ jamais consiguirão deter a primavera inteira"






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux