TomatoVPN: external (vpn)-IP Problem

Discussion in 'Tomato Firmware' started by friibii, Apr 1, 2010.

  1. friibii

    friibii Guest

    hi..

    i just set up a vpn-tunnel to a vpn-provider and so have following ip-schema:

    wan: 10.10.10.17
    lan: 192.168.2.1
    external (over the vpn-connection): 80.92.11.44 (as example)

    i set up a dmz so if i open the web-broswer with 10.10.10.17 i get the page from the device behind the tomato-router. perfect..

    but if i open the external-ip (80.92.11.44) i get the page from the tomato router. what route or firewall-confog do i need?

    thanks a lot and happy easter
    friibii
     
  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Try the following in your firewall script:
    Code:
    iptables -t nat -I PREROUTING -i tun11 -p tcp --dport 80 -j DNAT --to-destination <device behind the tomato-router>
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice