-
-
Notifications
You must be signed in to change notification settings - Fork 269
ByPass via VPN on server
Ycarus (Yannick Chabanois) edited this page Apr 12, 2024
·
4 revisions
Config not complete, missing remove of default route
From OpenMPTCProuter 0.60 you can ByPass via a VPN configured on the server side in Services->OMR-ByPass. You need to have a VPN configured on "vpn1" interface on the server.
For NordVPN, you can download UDP OpenVPN conf file from https://nordvpn.com/ovpn/ or https://nordvpn.com/servers/tools/ put it in /etc/openvpn/vpn1.conf
and modify it like this:
client
dev-type tun
# Change this line to use vpn1 as interface name:
dev vpn1
proto udp
remote 178.249.212.139 1194
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
verify-x509-name CN=fr865.nordvpn.com
remote-cert-tls server
# Change this line to user auth/pass automatically:
auth-user-pass /etc/openvpn/nordvpn.txt
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
...
-----END OpenVPN Static key V1-----
</tls-auth>
You also need to set in /etc/openvpn/nordvpn.txt user and password (username and on another line password).