dev tun
ifconfig 10.0.0.1 10.0.02
secret whatever.key
and the client(192.168.1.2) respectively:
remote 192.168.1.1
dev tun
ifconfig 10.0.0.2 10.0.01
secret whatever.key
Then I just ran:
openvpn --config server.conf
openvpn --config client.conf
By the way, if you have some kinda firewall or something you might need to consider opening port 1194.
No comments:
Post a Comment