Thread: VPN / Hamachi
View Single Post
  (#27) Old
somms somms is offline
Super Moderator
 
somms's Avatar
 
Posts: 883
Join Date: Oct 2008
Location: FAA
Default 06-29-2009, 02:37 PM

Glad you got it workin'!

BTW: Using OpenVPN w/certificates is really the way to go and the hardest part is generating the keys/cert., after that initial headache the rest is downhill!

Services/VPN/OpenVPN Daemon/OpenVPN Config:
Code:
server-bridge 192.168.1.1 255.255.255.0 192.168.1.200 192.168.1.224
management localhost 5001
comp-lzo
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
push "persist-tun"
push "persist-key"
port 1194
cipher BF-CBC
dev tap0
proto tcp-server
keepalive 10 60
max-clients 3
duplicate-cn
client-to-client
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
Client Config:
Code:
up-delay
tls-client
dev tap
proto tcp-client
remote my.dyndns.net 1194
ns-cert-type server
cipher BF-CBC
comp-lzo
verb 3
float
nobind
pull
redirect-gateway def1
http-proxy amcproxy.faa.gov 8080
http-proxy-retry
ca keys\\ca.crt
cert keys\\client1.crt
key keys\\client1.key
FWIW: Above is my 100% working Server/Client configs using rc18 OpenVPN TCP proto thru proxy server...

Administration/Commands/Startup:
Code:
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
Administration/Commands/Firewall:
Code:
iptables -I INPUT -p tcp --dport 1194 -j ACCEPT


Reply With Quote