-
Notifications
You must be signed in to change notification settings - Fork 352
Open
Description
It runs correctly on both ends, but when I try to ssh -D 4444 root@10.0.1.1 nothing happens:
on server I run sudo ./icmptunnel -s 10.0.1.1, on client sudo ./icmptunnel -c serverip and I have:
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp2s0
serverip 10.0.0.1 255.255.255.255 UGH 0 0 0 wlp2s0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0
and
$ ip a show tun0
13: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1472 qdisc fq_codel state UNKNOWN group default qlen 500
link/none
inet 10.0.1.2/24 scope global tun0
valid_lft forever preferred_lft forever
inet6 fe80::9971:42bb:d660:fd84/64 scope link flags 800
valid_lft forever preferred_lft forever
what am I doing wrong here?
note: strangely enought if I try: sudo ssh -D 4444 root@serverip I get prompted for password when I set on server to never ask for that...
# cat /etc/ssh/sshd_config|grep Password
PermitEmptyPasswords no
PasswordAuthentication no
This is another issue but can also be related, sometimes when I press ctrl+c I get this on server side
[DEBUG] Read ICMP packet with src: 10.0.0.29, dest: 10.0.0.12, payload_size: 24, payload: x��� or [DEBUG] Read ICMP packet with src: 10.0.0.29, dest: 10.0.0.12, payload_size: 24, payload: '��D�#�@xxxxxxxxxxxxxxxx�� pls give me some hint, thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels