tobyheywood
IS-IT--Management
Below is a brief diagram of the network i amin the process of setting up
The server has iptables and does NAT for the 192.x.x.x, what I am looking to do is to just pass all packets from the 10.x.x.x subnet through the firewall without mangling them with nat to the router which will then re-route the traffic across a ipsec tunnel.
Could someone give me a hint or two as to whether it's prerouting or postrouting and what the command will be to get the desired result.
I know that I can probably get a tool out the to do this for me, but I think that that is a bit of a cheats way and would much rather know how it works.
A very big thank you in advance of your anticipated assistance.
Regards
Toby Heywood
Code:
router public ip
|
| ---------public ip
| | |
********** ************
* Router * * Server *---10.x.x.x
********** ************
|
|
192.x.x.x
The server has iptables and does NAT for the 192.x.x.x, what I am looking to do is to just pass all packets from the 10.x.x.x subnet through the firewall without mangling them with nat to the router which will then re-route the traffic across a ipsec tunnel.
Could someone give me a hint or two as to whether it's prerouting or postrouting and what the command will be to get the desired result.
I know that I can probably get a tool out the to do this for me, but I think that that is a bit of a cheats way and would much rather know how it works.
A very big thank you in advance of your anticipated assistance.
Regards
Toby Heywood