TinCanTech wrote
It sounds like you have it working ok. Using iptables to masquerade your client IP address is the usual method.
I don't know why you have two tun interfaces .. I don't think you know either.
Thank you for your answer, I have two tun interfaces because I have two computers connecting to my VPN.
When I connect with my first computer on the remote VPN server a tun0 interface is created and when I connect with my second computer the tun1 is created.
The interface tun0 and tun1 are on the server, on the clients I have only 1 interface as it should be, I was just wondering if using the same gateway ip adress on my clients would create problems or its ok.
ifconfig command on server:
tun0
10.0.8.0 destination 10.0.8.1 [client A connect ed]
tub1
10.0.8.0 destinaton 10.0.8.2 [client B connected]