Public bug reported:
Dear all.
I have a problem: my ssh tunnel works fine for a while (this time varies from
minutes to hours) and then just stops to forward packets in one direction.
I tried to google this problem, but didn't find the solution.
Detailed description:
I have Gutsy on both machines. Machine A - is client, machine B - server. My
/etc/network/interfaces files looks like this:
Machine A:
iface tun0 inet static
pre-up echo 1 > /proc/sys/net/ipv4/ip_forward
pre-up ssh -f -w 0:0 machine_b_ip_address 'ifdown tun0; ifup tun0'
pre-up sleep 5
address 10.0.0.1
pointopoint 10.0.0.2
netmask 255.255.255.0
up route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.0.0.2 tun0
down route del -net 192.168.1.0 netmask 255.255.255.0 gw 10.0.0.2 tun0
Machine B:
iface tun0 inet static
pre-up echo 1 > /proc/sys/net/ipv4/ip_forward
pre-up sleep 5
address 10.0.0.2
pointopoint 10.0.0.1
netmask 255.255.255.0
up route add -net 10.88.171.0 netmask 255.255.255.0 gw 10.0.0.1 tun0
down route del -net 10.88.171.0 netmask 255.255.255.0 gw 10.0.0.1 tun0
I start tunnel using "sudo ifup tun0". Then everything is working for some time.
When it stops to work, I found out, that tunnel does not forward traffic from
machine B to machine A, while traffic from machine A to machine B
is forwarded correctly. Network device tun0 on machine B just stops
transmitting the data.
Also I noted, that it happens more frequently, while transmitting big amount of
data.
Please, help me to fix that. It's really borring to restart tunnel so often.
** Affects: openssh (Ubuntu)
Importance: Undecided
Status: New
--
ssh tunnel dies unexpectedly several times a day
https://bugs.launchpad.net/bugs/185524
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs