I have been running OpenVPN on a small VPS for my family for the past several months, and have been happy with it. Last week my host rebooted the box and now I’m having issues. They turned TUN back on, which in the past has gotten me back in operation. I can connect to the VPN, but when I try to access the web through it the connection gets stuck in a continual loop of [...]Continue Reading »
I have these deny statements in my iptables log: RULE 12 — DENY IN=tun0 OUT=eth1 MAC= SRC=172.16.250.6 DST=192.168.0.11 LEN=84 TOS=0×00 PREC=0 x00 TTL=63 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=20001 SEQ=1 Here is my iptables FORWARD table target prot opt source destination all — 172.16.250.0/24 192.168.0.11 /* Allows VPN IPs to connect to computer */ not sure why iptables is blocking it…. any ideas? As always, Thanks all! Asked by Jim My iptable rule was missing [...]Continue Reading »
I am trying to set up an openvpn server inside a lxc guest. However, it seams there is no tun device available in the container. Starting openvpn inside the container gives me this error: Tue Sep 18 13:04:18 2012 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2) Tue Sep 18 13:04:18 2012 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0 Tue Sep 18 13:04:18 2012 /sbin/ifconfig 10.6.0.1 pointopoint 10.6.0.2 mtu 1500 SIOCSIFADDR: No such device : [...]Continue Reading »
With the auth-user-pass filename option is it possible to create a plain text file with username and passphrase. Is it possible to have the username and passphrase directly in the client.conf? Asked by Sandra Not without recompiling openvpn. It’s made this way to discourage putting them there. If you want to have automatic VPN channel negotiation you really should use certificates and private keys. There should be an easy-rsa directory in documentation with scripts that [...]Continue Reading »
I set up Openvpn in a Ubuntu vps following this. This is my client route -n Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.8.0.5 184.108.40.206 UG 0 0 0 tun0 0.0.0.0 220.127.116.11 0.0.0.0 UG 0 0 0 ppp0 10.8.0.1 10.8.0.5 255.255.255.255 UGH 0 0 0 tun0 10.8.0.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 18.104.22.168 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 22.214.171.124 10.8.0.5 126.96.36.199 UG 0 0 0 tun0 169.254.0.0 0.0.0.0 255.255.0.0 [...]Continue Reading »
I’m using OpenVPN through Tunnelblick on MacOS X Lion. I need to set specific DNS (with local IP, which works only when VPN is up) for the duration of this VPN session only. I do not have access to the OpenVPN server configuration. Only client config. Also, DNS from the server doesn’t work. So it works like this: I connect to VPN, go the Network preferences and manually set DNS. After VPN is disconnected, I [...]Continue Reading »
I’ve set up an OpenVPN server on a VPS (ubuntu 11.04) and configured clients (mix of ubuntu 11.10 and 12.04) to use it. After starting the VPN connection on the client, all internet traffic gets routed trough the VPS. I would like to route only some of the traffic trough this setup. I have a list of domain names (which I could translate into IP addresses) and I want only those addresses to go trough [...]Continue Reading »
I work in a small company with one office in Dallas and another in Los Angeles. We run a Fedora server at our Dallas location and use a Linksys RV042 at each location to create a VPN connection between the sites. Every time the power or internet goes out in Dallas, our server is inaccessible so the entire company goes down. Because of this, we would like to use a shared server in the cloud [...]Continue Reading »
LAN (192.168.44.x) | | | | openVPN WinXP ws1 (192.168.44.37) Server (192.168.44.90) | | | | VPN1 VPN2 10.8.0.x 10.9.1.x | | remote winXP openVPN GUI client (10.9.1.2) – USB shared printer i would like to print from WinXP ws1 to remote winXP openVPN GUI. I can successfully connect to the VPN from remote winXP box and obtain a tun1 IP. I can also ping from winXP ws1 to remote winXP using: ping 10.9.1.2. I [...]Continue Reading »
Various resources are on the below LAN, one of which is Linux openVPN server. For complicated reasons, I have to run 2 openVPN server instances, VPN1 and VPN2. VPN1 works great, hands out 10.8.0.x tun0 IP’s to connecting clients. Clients are then able to access any resources on 192.168.44.x LAN, all is well. VPN2 is setup using ifconfig, not server directive. This is because i have to manually enter tap-win32 tcp/ip static IP on VPN2′s [...]Continue Reading »
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?