Static Routing

Discussion in 'Tomato Firmware' started by jochen, Sep 4, 2013.

  1. jochen

    jochen Network Guru Member

    I don't understand "static routing" in Tomato. Is there some good tutorial on this?

    I have a pptp vpn tunnel and redirect all internet traffic to this. Now I want to have a exception on this: I want to route all traffic to my vps directly to wan interface, not throug the tunnel. How must I configure that?
  2. bingo1105

    bingo1105 Networkin' Nut Member

    You most likely need to add a host route. Assuming your VPS has a single IP address, it would look something like this:

    Destination: VPS IP
    Gateway: Your ISP's normally assigned default gateway
    Subnet Mask:
    Metric: 0
    Interface: WAN

    That's it. You're telling the router, for this one IP address, forward the traffic to my ISP out the WAN interface.

    If your VPS has multiple IP addresses, you'd either need to add multiple host routes (one per IP address) or a range of addresses to match what is routed to your VPS.
  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