|
|
Hello
I've successfully set up a tunnel between a box addressed with a /28, and
my home box. I want to use the tunnel to get around my ISP's port 25
block, use IRC etc.
The problem is that I can't reach the tunneled address from the net (just
from the two involved boxes). How do I solve this?
I think the problem is that nothing is listening on 192.121.234.222 at the
/28-box. But if I add a virtual interface with that address, the /28-box
itself responds to ping. It does not forward the ping through the tunnel.
My configs:
server.conf
-----------
local 192.121.234.220
dev tun
ifconfig 192.121.234.221 192.121.234.222
comp-lzo
ping 15
secret static.key
client.conf
-----------
remote 192.121.234.220
dev tun
ifconfig 192.121.234.222 192.121.234.221
comp-lzo
ping 15
secret static.key
ifconfig dump from the /28-box:
eth1 Link encap:Ethernet HWaddr 00:A0:C9:D8:44:F9
inet addr:192.121.234.220 Bcast:192.121.234.223
Mask:255.255.255.240
eth1:0 Link encap:Ethernet HWaddr 00:A0:C9:D8:44:F9
inet addr:192.121.234.221 Bcast:192.121.234.223
Mask:255.255.255.240
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.121.234.221 P-t-P:192.121.234.222
Mask:255.255.255.255
snip from the routing table at the same box:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.121.234.222 * 255.255.255.255 UH 0 0 0 tun0
ifconfig from my home box (I guess only tun0 is relevant):
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.121.234.222 P-t-P:192.121.234.221
Mask:255.255.255.255
and a snip from the routing table:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.121.234.221 * 255.255.255.255 UH 0 0 0 tun0
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|