Category: VPN

Debian, OpenVPN

Debian – connect to a VPN at startup

Edit openvpn default configuration sudo nano /etc/default/openvpnsudo nano /etc/default/openvpn Uncomment AUTOSTART=”all” or Uncomment and edit the option AUTOSTART=”myhome” to auto-start only one vpn connection. Copy your configuration sudo cp /home/user/myhome.conf /etc/openvpn/myhome.confsudo cp /home/user/myhome.conf /etc/openvpn/myhome.conf Don’t forget to change paths inside /etc/openvpn/myhome.conf file for certificate, key etc.. Reload sudo systemctl daemon-reloadsudo systemctl daemon-reload Restart Openvpn sudo …

Add-ons, Anonymity, Browsers, Chrome, Firefox, Protection, VPN

WebRTC Vulnerability leaks Real IP Address

WebRTC Vulnerability leaks Real IP Address of VPN User. This security flaw can reveal your real IP address, even if you’re using a VPN, and it’s easy to exploit. To check if you are safe or not: > Visit https://diafygi.github.io/webrtc-ips/ while you are connected to your vpn. > If your real IP address is in …

OpenVPN

Forward ports to OpenVPN clients in Centos

1) iptables -A FORWARD -p tcp -i eth0 -d client_ip_address –dport port_number -j ACCEPTiptables -A FORWARD -p tcp -i eth0 -d client_ip_address –dport port_number -j ACCEPT 2) iptables -t nat -A PREROUTING -p tcp -d server_public_ip_address –dport port_number -j DNAT –to-destination client_ip_address:port_numberiptables -t nat -A PREROUTING -p tcp -d server_public_ip_address –dport port_number -j DNAT –to-destination …

OpenVPN

OpenVpn Client Configuration

1) Connect to your Server with sftp. I prefer winscp. 2) Download /etc/openvpn/easy-rsa/2.0/keys/ca.crt. 3) Download /etc/openvpn/easy-rsa/2.0/keys/client.crt. 4) Download /etc/openvpn/easy-rsa/2.0/keys/client.csr. 5) Download /etc/openvpn/easy-rsa/2.0/keys/client.key. 6) Download /usr/share/doc/openvpn-x.x.x/sample/sample-config-files/client.conf. 7) Rename client.conf to client.ovpn. 8) Change remote my-server-1 1104 line to remote server_ip_address port_number. 9) Copy all files to OpenVPN config folder.

OpenVPN

IP Forwarding and Routing in Centos 6.6 and OpenVPN

If you want to forward all internet traffic through your openvpn connection and centos server apply the following: nano –w /etc/sysctl.conf change net.ipv4.ip_forward = 1 sysctl -p iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle –F iptables -t mangle –X iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT …

OpenVPN

OpenVPN Configuration in Centos 6.6

Configure server.conf 1) cp /usr/share/doc/openvpn-2.3.6/sample/sample-config-files/server.conf /etc/openvpn/cp /usr/share/doc/openvpn-2.3.6/sample/sample-config-files/server.conf /etc/openvpn/ 2) nano -w /etc/openvpn/server.confnano -w /etc/openvpn/server.conf uncomment push “redirect-gateway def1 bypass-dhcp” uncomment and change push “dhcp-option DNS 8.8.8.8” uncomment and change push “dhcp-option DNS 8.8.4.4” uncomment user nobody uncomment group nobody change port to 443 comment proto udp ucomment proto tcp comment ifconfig-pool-persist ipp.txt comment status openvpn-status.log …

OpenVPN

OpenVPN Installation in Centos 6.6

1) susu 2) wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmwget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 3) rpm -Uvh epel-release-6-8.noarch.rpmrpm -Uvh epel-release-6-8.noarch.rpm 4) yum install openvpn easy-rsa iptables –yyum install openvpn easy-rsa iptables –y 5) yum update -yyum update -y