Help to migrate from openvpn server to ethersoft vpn server
Posted: Sun Feb 08, 2015 4:34 am
Hi,
I'm trying to migrate from a openvpn server to a new ethersoft vpn server.
Now we have a openvpn server with 1 network adapter connected to internet with a public IP address.
The server is configured to act as a routed tunnel (dev-tun) and has this configuration:
server 192.168.10.0 255.255.254.0
We push general some routes on server.conf like this:
push "route 10.128.0.0 255.255.0.0"
push "route 172.21.0.0 255.255.0.0"
Then we have created several accounts to access the LAN, and for every account we assign a /30 subnet network addresses range.
client-config-dir ccd
On the ccd directory we have some files, one for each account with content like this:
ifconfig-push 192.168.11.109 192.168.11.110
The reason to do this is to restrict access to certain ip's only on a firewall filtering with the source IP address of each client.
On the openvpn server, I have one eth0 interface configured with the public IP address, and a virtual network interface tun0 like this:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.10.1 P-t-P:192.168.10.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4456587 errors:0 dropped:0 overruns:0 frame:0
TX packets:3610195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3022059022 (2.8 GiB) TX bytes:2301532676 (2.1 GiB)
I have been testing EtherSoft VPN Server, and I have managed to connect my company LAN using Virtual NAT and DHCP.
But I can't manage to make a configuration like our openvpn server, and to assign to each client a static IP, and that all network traffic that each client generates comes with its own source IP address in order to restrict access into a firewall.
Could anyone help me to configure this scenario?
Thank you very much.
I'm trying to migrate from a openvpn server to a new ethersoft vpn server.
Now we have a openvpn server with 1 network adapter connected to internet with a public IP address.
The server is configured to act as a routed tunnel (dev-tun) and has this configuration:
server 192.168.10.0 255.255.254.0
We push general some routes on server.conf like this:
push "route 10.128.0.0 255.255.0.0"
push "route 172.21.0.0 255.255.0.0"
Then we have created several accounts to access the LAN, and for every account we assign a /30 subnet network addresses range.
client-config-dir ccd
On the ccd directory we have some files, one for each account with content like this:
ifconfig-push 192.168.11.109 192.168.11.110
The reason to do this is to restrict access to certain ip's only on a firewall filtering with the source IP address of each client.
On the openvpn server, I have one eth0 interface configured with the public IP address, and a virtual network interface tun0 like this:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.10.1 P-t-P:192.168.10.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4456587 errors:0 dropped:0 overruns:0 frame:0
TX packets:3610195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3022059022 (2.8 GiB) TX bytes:2301532676 (2.1 GiB)
I have been testing EtherSoft VPN Server, and I have managed to connect my company LAN using Virtual NAT and DHCP.
But I can't manage to make a configuration like our openvpn server, and to assign to each client a static IP, and that all network traffic that each client generates comes with its own source IP address in order to restrict access into a firewall.
Could anyone help me to configure this scenario?
Thank you very much.