![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
tptable masqurading
i am using 2 isp for internet
one linux box using -( X.X.X.116 public address, 10.2.10.4 is for local address) iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F iptables -t mangle -X iptables -A POSTROUTING -t nat -s 10.2.0.0/255.255.0.0 -j MASQUERADE iptables -t nat -A PREROUTING -s 10.2.0.0/255.255.0.0 -p tcp --dport 80 -j REDIRECT --to-port 8080 service iptables save service iptables restart another is only for proxy server X.X.X.115 public address the proxy how to write perfect routing |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|