I want to set up a site-to-site VPN connection between an Astaro ASG120 v7.201 and a Linux host, which is limited to OpenVPN 2.1.
Setting up a site-to-site connection between two Linux hosts running OpenVPN is no problem for me.
I can connect to the Astaro with the SSL Remote Access OpenVPN config files provided by the Webuserinterface, routing works so far (on the client).
Unfortunately I can't ping any machine on the Astaro's internal network from machines from the client's network, because the hosts on the Astaro's internal network don't know a route back to the client's network. This would be fixed by adding client-specific routing information, as shown here:
HOWTO
My question: Is there an option in the Astaro's webinterface to configure the OpenVPN server in this way? Or do I really have to edit the OpenVPN config file in
/var/sec/chroot-openvpn/etc/openvpn/openvpn.conf ?
Would the manual changes be persistent, even if i change the options in the Webinterface?
Network information:
Astaro's internal net: 10.222.1.0/24
SSL-VPN-net: 10.242.2.0/24
Client's internal net: 192.168.2.0/24
Client's default-gw: 192.168.2.1
Astaro's routing table:
10.242.2.2 dev tun0 proto kernel scope link src 10.242.2.1
WWW.***.YYY.ZZZ dev ppp0 proto kernel scope link src
WWW.***.YYY.ZZZ
10.222.1.0/24 dev eth0 proto kernel scope link src 10.222.1.222
10.242.2.0/24 via 10.242.2.2 dev tun0
127.0.0.0/8 dev lo scope link
default via WWW.***.YYY.ZZZ dev ppp0 proto kernel
Client's routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.242.2.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.242.2.1 10.242.2.5 255.255.255.255 UGH 0 0 0 tun0
10.222.1.0 10.242.2.5 255.255.255.0 UG 0 0 0 tun0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth1
Host on the client's network routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 192.168.2.2 0.0.0.0 UG 0 0 0 eth0
Thanks in advance.
Kind regards,
Patrick
This thread was automatically locked due to age.