On both client and server:
fresh stable (ubuntu LTS 8.04) Ubuntu, get all updates.
then apt-get install bridge-utils (per http://blog.kovyrin.net/2006/04/05/connecting-two-remote-local-networks-with-transparent-bridging/)
then:
apt-get install uml-utilities
tunctl -u root -t tap0
ifconfig tap0 0.0.0.0 promisc up
then apt-get install vtun
modprobe tun
Then on server, copy /usr/share/doc/vtun/examples/vtund-server.conf to /etc
comment out: bindaddr { iface lo; };
in lion configuration:
change: "compress lzo:9;" to "compress no;"
change: "encrypt yes;" to "encrypt no;"
comment out firewall lines
Then on client, copy /usr/share/doc/vtun/examples/vtund-client.conf to /etc
edit /etc/vtund-client.conf: under the "lion" configuration, change "device tap1" to "device tap0"
Then on server:
edit /etc/network/interfaces:
auto lo
iface lo inet loopback
iface eth0 inet static
address public_ip_address
netmask public_mask
gateway public_gateway
auto eth0
Then on client:
edit /etc/network/interfaces:
auto lo
iface lo inet loopback
iface eth0 inet static
address public_ip_address
netmask public_mask
gateway public_gateway
auto eth0
Then on server:
vtund -n -s -f /etc/vtund-server.conf
Then on client:
vtund -n -f /etc/vtund-client.conf lion server_public_ip_address
With luck, a UDP connection (tunnel) will be initialized. From client you should be able to ping 10.1.0.1 (server's tun0 ip address).
Providing Rest Clients Nearly as Bad as Publishing SOAP Contracts
-
Even still, many developers and architects have continued to emotionally
cling to the SOAP bad old days, wherein the contracts between a server and
a cli...
5 years ago
No comments:
Post a Comment