How to push a public IP on your laptop using SSH bridged tunnel

Posted on Sun 04 March 2012 in Systems • Tagged with routing, ssh, vpnLeave a comment

In my previous post I talked about Layer 3 VPN feature of OpenSSH (starting from version 4.3).
Now, I'm talking about bridged VPN or Layer 2 VPN. With this feature you can create a virtual network device that, through the encrypted tunnel, is connected on the same network ...

Continue reading

How to split DNS name resolution in VPN environment

Posted on Wed 30 November 2011 in Systems • Tagged with dns, openvpn, powerdns, scripting, vpnLeave a comment

I'm in this situation:
a VPN to remote concentrator that load many routes to private networks, vpn server push DNS configuration via OpenVPN protocol (see --dhcp-option DNS in openvpn(8) ).
The scope of this post is to explain how you can use remote DNS pushed by VPN concentrator only ...

Continue reading

cisco IOS: Monitorare una vpn

Posted on Tue 23 August 2011 in Systems • Tagged with cisco, ios, monitoring, vpnLeave a comment

Avere a che fare con delle connettività scadenti è sempre un disastro.

Uno strumento per tenere monitorata una VPN e reagire in caso di down puo' essere comodo.

Esempio:
In questo esempio ho una VPN tra la rete A (192.168.2.0/24) e la rete B (192.168 ...

Continue reading

VPN layer 3 con OpenSSH

Posted on Mon 22 December 2008 in Systems • Tagged with bash, ssh, vpnLeave a comment

Dalla versione 4.3 di OpenSSH è stato introdotto il supporto per TUN/TAP. Questo sigifica che è possibile stabilire un tunnel cifrato tra due peer o due (o piu) reti.
Questo script si occupa di fare il discover dei device tun da utilizzare, assegnare gli indirizzi e le rotte ...

Continue reading