Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A really Silly networking config(would it work?)

My ISP reseller is offering static IP for cable user in a PPTP VPN based solution, since Native Static IP on the main ISP network need a router configured with some network routing protocol protected by a password to get around their DHCP stuff, and this is not available to reseller..

However, since nothing is never simple, my Astaro box does not support a PPTP VPN used as a VPN client such as most consumer grade VPN router, (it only support the server side of PPTP/L2TP/openvpn as remote access, and Site2Site VPN).

I could always configure the VPN on the host OS side that need the static IP, but I would prefer to avoid that, and it also render my firewall useless to protect from packet coming from inside the VPN.

I wonder if the following would work:

Use a PPTP VPN hardware client (could be a linksys or a linux machine in my hyper-v, or a dedicated linux machine), with 2 NIC, plug eth0 (nic used to establish the PPTP VPN) to my internal network, so it connect to the remote VPN server on the internet, and plug the eth1 to a 3rd NIC (ASTARO:eth2) on my Astaro machine.

My astaro machine would be configured as:  ASTARO:eth0 -> Cable modem, ASTARO:eth1 -> internal network, ASTARO:eth2-> tunneled over PPTP VPN

I think (not sure how I can do this), that device needed static IP could be simply routed to that new inteface Astaro:eth2 (possibly by given them that gateway instead of my cablemodem gateway). Also if I'm lucky enough I could also do NATing/Firewall/etc on this "VPN interface" and use other networking feature.

Another option would be to hack astaro and setup the PPTP client on it, but this would not be a supported configuration, and could get wiped by a updated etc..

Let me know if you guys see a reason why this would not work (or work).

Thanks a lot.


This thread was automatically locked due to age.
Parents
  • Your ISP probably can tell you if it's possible to have two different interfaces with both a fixed and dynamic IP.  My guess is that you will have layer-2 issues if you try that, but I'm not that strong there.

    Cheers - Bob
Reply
  • Your ISP probably can tell you if it's possible to have two different interfaces with both a fixed and dynamic IP.  My guess is that you will have layer-2 issues if you try that, but I'm not that strong there.

    Cheers - Bob
Children
  • Ok, So I gave it a try, added a new nic, configured at PPPoA/PPTP and configured it with a free PPTP VPN provider (temporarily because my ISP is not ready).

    Connected the NIC cable back to my main switch, and guess what? The tunnel established successfully!! 

    Now, I am trying to figure out how to route traffic trough the new interface.. I am playing with the Policy routes, configured as follow:


    Route type: Interface route
    Source Interface >
    Source network: Host definition for my current workstation
    Service: Any
    Destination Network: Internet
    Target interface: the PPPoA/PPTP VPN

    But so far I haven;t been able to get it working, I wonder if I need to setup NAT or other thing.. also temporarly the firewall is wild open ( any any any).

    Any advise? [:)]
  • IT WORKS! 

    The transparent HTTP proxy was getting in the way, and hijacking the data back into my cable modem bypassing the route.


    Now I need to think more about the network implication of having that VPN interface plugged back into the internal network going outside on the WAN...

    I wonder if the traffic would now be counted double.. 

    Also, the NIC IP and Mask i wrote in the interface setting, I wonder what why are used for? I don't seem to need them anywhere... maybe I could use it for something?

    But thanks you BAlfson & da_merlin for knowing ASG inside out!

    And thanks you Astaro for making such a good product [:)]