Jump to content

Please, tell me howto SNAT 192.168.2.0 to 192.168.3.0?


lefthook
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...