[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
VPN using SSH and VTun
Folks,
I have a question similar to the one posed on the 29th -- specifically, I
want to set up a VPN connection to my house through a firewall that
essentially only allows outgoing web traffic (HTTP/80 and SSL/443). As such,
it allows SSH conections to my openbsd machine on port 443. I'd like to set
up an SSH tunnel from my openbsd machine at work to my home machine and run
vtund as a point to point connection across that. From there, I'd run NAT on
the home machine and route everything intended for the subnet at work across
the vtun link. Below is a diagram of what I want to accomplish:
WORK (Firewall/T1) HOME (cable modem to internet)
/----------------------\ /------------------------------------\
| | | |
| 192.156.20.0 network | | openbsd(NAT) Win9x machines |
| openbsd (x.x.20.116) | | (192.168.x.x) (192.168.x.x) |
| \ \----------|--|--vtun---/ / \ / |
| \------------|--|--SSH------/ \----LAN-----/ |
| | | |
\----------------------/ \------------------------------------/
presumably, the home machine's vtun interface would be given a static IP
from the 192.156.20.x range, and all traffic from 192.156.20.x would be
routed over vtun.
My problem is that vtun seems relatively easy to use, but there is very
little documentation for OpenBSD. If any one could point me towards some
resources to use, the man pages seem fairly vague (at least for someone
who's pretty new to openbsd), and the examples given are geared towards
linux.
Finally, I'm also asking for a reality check. If ppp is a better choice for
setting this up, say so.
Thanks,
Marti