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

Connect server to the internet via VPN

Hi,

My ISP gives me a dynamic IP adres. That's ok for most things and I would like to keep it that way. I can also use IPv6, but they are also dynamic.
Just for 1 development server I have at home I need a static IP for the  directadmin control panel, and some other stuff.

I have a VPN with a static IP.

How can I configure my UTM 9 so my development server will use the VPN? (Just the development server) I don't want to use the VPN for my normal internet.

Directadmin says

Your server IP must be an external IP address. Local IP addresses (192.168.x.x or 10.0.x.x) will not work. The IP in your network device must be the same IP in your license file, as well as the public IP that connects to our system


Can someone put me on the right path?
Thanks! [:)]


This thread was automatically locked due to age.
Parents
  • Ok, I got the packet-loss problem solved, I removed all settings from the second network interface.
    Now I have

    /sbin/ifconfig
    eno1: flags=4163  mtu 1500
            inet 10.0.0.112  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::224:e8ff:fe58:4951  prefixlen 64  scopeid 0x20
            inet6 fec0::224:e8ff:fe58:4951  prefixlen 64  scopeid 0x40
            ether 00:24:e8:58:49:51  txqueuelen 1000  (Ethernet)
            RX packets 31707  bytes 16669912 (15.8 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 9585  bytes 942976 (920.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 16  

    eno1:0: flags=4163  mtu 1500
            inet 10.0.0.114  netmask 255.255.255.0  broadcast 10.0.0.255
            ether 00:24:e8:58:49:51  txqueuelen 1000  (Ethernet)
            device interrupt 16  

    eno1:1: flags=4163  mtu 1500
            inet 5.175.***.***  netmask 255.255.255.0  broadcast 5.175.***.***
            ether 00:24:e8:58:49:51  txqueuelen 1000  (Ethernet)
            device interrupt 16  

    eno2: flags=4099  mtu 1500
            ether 00:24:e8:58:49:52  txqueuelen 1000  (Ethernet)
            RX packets 20983  bytes 1550837 (1.4 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 3319  bytes 483923 (472.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 17  

    lo: flags=73  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10
            loop  txqueuelen 0  (Local Loopback)
            RX packets 536  bytes 60370 (58.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 536  bytes 60370 (58.9 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


    The 5.175.***.*** is my VPN IP
    I can start the install of directadmin, but it's unable to download from their servers trough that interface.
    It' can't work because I'm using the VPN IP in my interface.

    Any idea how I can let this work?
Reply
  • Ok, I got the packet-loss problem solved, I removed all settings from the second network interface.
    Now I have

    /sbin/ifconfig
    eno1: flags=4163  mtu 1500
            inet 10.0.0.112  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::224:e8ff:fe58:4951  prefixlen 64  scopeid 0x20
            inet6 fec0::224:e8ff:fe58:4951  prefixlen 64  scopeid 0x40
            ether 00:24:e8:58:49:51  txqueuelen 1000  (Ethernet)
            RX packets 31707  bytes 16669912 (15.8 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 9585  bytes 942976 (920.8 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 16  

    eno1:0: flags=4163  mtu 1500
            inet 10.0.0.114  netmask 255.255.255.0  broadcast 10.0.0.255
            ether 00:24:e8:58:49:51  txqueuelen 1000  (Ethernet)
            device interrupt 16  

    eno1:1: flags=4163  mtu 1500
            inet 5.175.***.***  netmask 255.255.255.0  broadcast 5.175.***.***
            ether 00:24:e8:58:49:51  txqueuelen 1000  (Ethernet)
            device interrupt 16  

    eno2: flags=4099  mtu 1500
            ether 00:24:e8:58:49:52  txqueuelen 1000  (Ethernet)
            RX packets 20983  bytes 1550837 (1.4 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 3319  bytes 483923 (472.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 17  

    lo: flags=73  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10
            loop  txqueuelen 0  (Local Loopback)
            RX packets 536  bytes 60370 (58.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 536  bytes 60370 (58.9 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


    The 5.175.***.*** is my VPN IP
    I can start the install of directadmin, but it's unable to download from their servers trough that interface.
    It' can't work because I'm using the VPN IP in my interface.

    Any idea how I can let this work?
Children
No Data