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.

2 ISP, VPN via First ISP, Internet via 2-nd

Discussion in 'Networking' started by mosco, Nov 11, 2007.

Thread Status:
Not open for further replies.
  1. mosco

    mosco Thread Starter

    Joined:
    Nov 11, 2007
    Messages:
    3
    Good day,

    Is there possible to install such configuration:
    I have 2 internet connections:
    1. Via Ethernet+VPN (with static IP)
    2. Via Wireless

    I want all my clients will be connected by VPN to my server via 1-st internet connection (from anywhere), and have internet from 2-nd internet connection.

    Is this possible? How I can do it?

    I've tryed to remove a default gateway from 1-st VPN connection, but default gateway now is Ethernet from 1-st connection - so I have no internet from wireless, I've tryed to change default gateway on Wireless connection, but now clients can not ping my 1st Internet connection, so can not access my server by VPN.

    Please help!
     
  2. mosco

    mosco Thread Starter

    Joined:
    Nov 11, 2007
    Messages:
    3
    I'm using Windows 2003 Server + ISA server 2006
     
  3. mosco

    mosco Thread Starter

    Joined:
    Nov 11, 2007
    Messages:
    3
    In Linux I can do it with help of iproute2:

    For example if VPN-clients has 192.168.1.x, then:

    ip route add default via gateway2 table 10

    ip rule add from 192.168.1.0/24 table 10

    And SNAT rule:

    iptables -t nat -A POSTROUTIG -o eth2 -j SNAT --to-sourse XXX.XXX.XXX.XXX

    But how can I do such thing in Windows?
     
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/650501

  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