1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Port Forwarding (outgoing) to another router?

Discussion in 'Networking' started by whitey86, May 20, 2016.

Thread Status:
Not open for further replies.
Advertisement
  1. whitey86

    whitey86 Thread Starter

    Joined:
    May 20, 2016
    Messages:
    4
    Hi everyone!

    I am looking for help with my dd-wrt router. Here is my setup:

    Router 1

    TP-Link (Original firmware)
    DHCP server
    IP: 192.168.1.1
    Connected to ISP broadband (dynamic IP)

    Router 2
    D-Link DIR 600 vB1 (dd-wrt firmware)
    DHCP server
    IP: 192.168.2.1
    Connected to VPN via PPTP WAN (OpenVPN not supported on this dd-wrt firmware)

    Other Information
    Routers are connected to each other via TP-Link Powerlines
    All devices connected to router 2 use the VPN connection
    I do not use the Wi-Fi on router 2 but may in the future

    Everything works fine except for one thing that has been bothering me. The VPN provider blocks port 25 (outgoing) which means all devices connected to router 2 cannot send emails! Is there a way I can setup the router 2 to forward outgoing mail on port 25 to router 1 so it uses my home ISP connection?

    I don't mind that my incoming mail will have a different IP to my outgoing - unless this will cause problems, if it does then I would like all mail (incoming and outgoing) to use my router 1 connection.

    I've read about iptables with dd-wrt but I can't work out if that is what I need or how to implement it, any help would be appreciated.

    Thanks,

    Whitey (y)
     
  2. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,854
    First Name:
    Rob
    WHy do you need to use two routers instead of one? Why now convert the second router to a switch instead and not have a mess? Disable DHCP on the second router and connect the Ethernet cable from the first router to one of the LAN ports on the second router instead of the WAN port and you have your yourself one network instead of two.
     
  3. whitey86

    whitey86 Thread Starter

    Joined:
    May 20, 2016
    Messages:
    4
    Hi Triple6,

    Because then I won't have the VPN connection. Router 1 does not support VPN or dd-wrt firmware (I wish it did). I'm not just extending my network - I'm making all devices connect through the VPN.

    Thanks,

    Whitey
     
  4. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,854
    First Name:
    Rob
    Can you replace the first router with the second?

    What VPN provider are you using? I thought you were using OpenVPN on the router? So are you connecting from the internet to the second router with OpenVPN or are you connecting from within your network to a VPN service over the internet?

    Most email providers now provide alternate ports for SMTP, check that yours doesn't support one of the common ones such as 587, 465, or another port.
     
  5. whitey86

    whitey86 Thread Starter

    Joined:
    May 20, 2016
    Messages:
    4
    Hi,

    Replacing the first router with the second isn't an option because there is no OpenVPN option on the dd-wrt router. I have to use the WAN PPTP which means I wouldn't be able to connect to my ISP. It's PureVPN and using this guide: https://support.purevpn.com/how-to-setup-pptp-on-ddwrt-router

    I've tried alternative ports but I have to use so many email accounts for my work all providers don't provide an alternative to 25 unfortunately.

    Thanks,

    Whitey
     
  6. whitey86

    whitey86 Thread Starter

    Joined:
    May 20, 2016
    Messages:
    4
    Can anyone else help me with my query?

    Thanks!
     
  7. Triple6

    Triple6 Moderator

    Joined:
    Dec 26, 2002
    Messages:
    52,854
    First Name:
    Rob
    Putting the second router into the DMZ of the first router may work for your needs.
     
  8. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1171583

  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