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

OpenVPN connection, same subnet

Discussion in 'Tomato Firmware' started by Mate Rigo, Mar 12, 2014.

  1. Mate Rigo

    Mate Rigo Serious Server Member


    I have the following setup:
    Router 1: Linksys WRT54GL Shibby mod v115
    Router 2: Asus RT-N53U Shibby mod v115

    Both have openVPN packages, even right now up and running together.

    Router 1 has a Synology NAS with an itunes share on it. As far as I know, itunes sharing only works if participants are in the same subnet.
    I'd like to set up an openvpn connection between Router 1 and Router 2, so that they are in the same subnet.
    My goal is to have services, like itunes sharing functional on computers that are connected to the routers.

    My thought is that I should have Router 1 with an IP address of
    And Router 2 with

    Both should have a subnet mask of

    Something like this should work out.

    There are problems that came to my mind, like:
    • multiple dhcp server problem
    • routing table setup requirement

    Do you guys have any thoughts, how this could work out?
  2. eibgrad

    eibgrad Addicted to LI Member

    You should create a bridged OpenVPN tunnel (tap), then block DHCP across the tunnel. Routing is a none issue since the two sites are bridged.
  3. Mate Rigo

    Mate Rigo Serious Server Member

    Thanks for your insight.
    I'll give it a try soon.
  4. ShinichiYao

    ShinichiYao Reformed Router Member

    How to block DHCP across the tunnel using iptables?
  5. eibgrad

    eibgrad Addicted to LI Member

Share This Page