Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forwarding network traffic

Status
Not open for further replies.

tobyheywood

IS-IT--Management
Apr 20, 2001
122
GB
Below is a brief diagram of the network i amin the process of setting up
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top