Iptables Again! :(

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

 



Hi, Me AGAIN and my iptables problem.! :(

again description my net and my problem.

Have a 200.40.226.64 /28 net *public NET
have a 192.168.1.0 /24 net *private NET

have a 200.40.226.66 server running iptables * Is the gateway

have a VoIp box THIS is the PROBLEM.
i need to put behind the firewall and have the address 192.168.1.33 but
i need to outside with 200.40.226.69 and received external requirements
with this ip but iptables not function for me. i Put this lines but dont
work i need Route? or something else??? 

iptables -t nat -A POSTROUTING -s 192.168.1.33/255.255.255.255 -o eth0
-j SNAT --to 200.40.226.70

iptables -t nat -A PREROUTING  -s 200.40.226.70/255.255.255.255 -i eth0
-j DNAT --to 192.168.1.33


Any help me???? please!!!! 


in Resumen i need

192.168.1.33 --- Go Outside to  -----> 200.40.226.70

and in the other side when make Exa. Telnet 200.40.226.70

200.40.226.70 ---- Go Inside to ---- > 192.168.1.33


|Please Help me!





-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux