1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Static Routing

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

  1. jochen

    jochen LI 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.

Share This Page