Hi all,
i need to configure a different set up on OVENVPN server, andneed your help in this regard.
previously i had successfully shared internet from server machine using OpenVpn protocol, but what if we have two internet connections on server, and one connection is used for openvpn connection, while other internet connection is being used for sharing internet access.
actually there are two different ISP in our area, one (Giant player of the market) imposes extreme impositions on web content like we cant access even "Youtube" , while other ISP don,t impose such restrictions but charge enormously high monthly fixed payment with limited data usage , i have both connections at my server machine, my clients machine can successfully connect with my server machine which have both internet connection, but they get shared internet access from such internet from which they cant get access to Filtered content.
If i connect my server machine with only un filtered connection, they can get access to blocked services, but for that i cant afford for such a high rate of data use as i have to pay on per mb basis.
any one Please help
Regards,
Xeeshan
port 443 #change to any port you see fit. The client needs to use the same port
proto udp #switch to tcp if you wish to use a tcp connection, the client needs to use the same protocol. udp gives better performance
dev tun
dev-node MyTap #name of your TAP interface.
server 192.168.137.0 255.255.255.0 #This may need modification as dictated by Internet Connection Settings. This is the default for ICS on Windows 7.
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1" #tells all Internet traffic to go through the tunnel
push "dhcp-option DNS 208.67.222.222" #OpenDNS servers, makes it easy to check if the tunnel is working properly
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo #compression for better network performance. Disable if your server isn't powerful enough. Needs to be included in both server and client configs if you use it.
persist-key
persist-tun
status openvpn-status.log
verb 3
client
dev tun
dev-node MyTap #Name of your TAP network interface
proto udp #switch to tcp if you wish to use a tcp connection, needs to match server. udp gives better performance
remote XXXXXXXXXXXX.net 1194 #change port as you see fit, needs to match server
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
comp-lzo #compression for better performance. Disable if your server isn't powerful enough. Needs to be included in both server and client configs if you use it.
verb 3
explicit-exit-notify 2
ping 10
ping-restart 60
register-dns #uncomment this if you you run into dns issues
route-method exe
route-delay 2