lefthook Posted March 28, 2003 Report Share Posted March 28, 2003 HI I need to SNAT the whole network to other, how? I mean: 192.168.2.0/255.255.255.0 to 192.168.3.0/255.255.255.0. I Know how to do SNAT to one outgoing IP, but is there any caveats to with this? I have to Exclude GW I think so? Quote Link to comment Share on other sites More sharing options...
MottS Posted March 29, 2003 Report Share Posted March 29, 2003 I don't understand what you are trying to do. Do you want to have an ip in the 192.168.3.0/255.255.255.0 range or you want your dhcp server to give ips in that range or ... Be more specific. And give your mandrake version plz MOttS Quote Link to comment Share on other sites More sharing options...
lefthook Posted March 30, 2003 Author Report Share Posted March 30, 2003 Well I made it ok: 192.168.200.0/24----Linux & bw limiterrouter ---eth0 with about 40 virtual ips ----> winroute with 2way satellite (internet gateway). the command is (/etc/rc.d/rc.firewall): iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 192.168.2.2-192.168.2.41 I cannot do the normal masquerading because winroute sat gateway cannot handle many connections from the same IP, so I have 40 IP going to winroute. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.