Redirecting all traffic through one of the client computer

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
disa
OpenVpn Newbie
Posts: 2
Joined: Thu Dec 27, 2012 6:06 pm

Redirecting all traffic through one of the client computer

Post by disa » Thu Dec 27, 2012 6:21 pm

Hello, I am new here.

I have got two computers with public IP directly connected to internet and few other without public IP.
My scenario is:
- One comp that will be a VPN server, I have already configured OpenVPN there. Here is my server.ovpn:

Code: Select all

port 1200
proto udp
dev tun
ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\config\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\config\\server.key"
dh "C:\\Program Files (x86)\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
tls-auth "C:\\Program Files (x86)\\OpenVPN\\config\\ta.key" 0 
cipher AES-256-CBC   # AES
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
- second comp with public IP connectected directly to internet. I want to redirect all traffic from clients(not server) through this comp.
- few other comps without public .

Both last have following client.ovpn:

Code: Select all

client
dev tun
proto udp
remote disaderp.eu 1200
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
cipher AES-256-CBC
comp-lzo
verb 3
What else I have to do.

Post Reply