Hello,

I have problems configuring NAT. I've built a VPN from router2 to
default route. I have access to internet from router2. Now I am stuck
with NAT. How should I do NATting? What interface to use?

# NETWORK SETUP:

192.168.1.0/24
   |
   |
   |
router 2-[172.16.16.6] --VPN-- [172.16.15.6]- router 1--Internet
   |  |                                       |
   |   --- VPN: public IP range -> default ---
   |
193.x.x.x/27


# netstat -rnf encap
Routing tables

Encap:
Source             Port  Destination        Port  Proto
SA(Address/Proto/Type/Direction)
172.16.15.6/32     0     172.16.16.6/32     0     0
172.16.15.6/esp/use/in
172.16.16.6/32     0     172.16.15.6/32     0     0
172.16.15.6/esp/require/out
default            0     193.x.x.x/27 0     0     172.16.15.6/esp/use/in
193.x.x.x/27 0     default            0     0
172.16.15.6/esp/require/out

Reply via email to