You are not logged in.
Hi, I have Arch installed on a desktop at work and sometimes ssh in from home with a macbook pro. For security reasons, I use ufw to block all incoming traffic expect a few trusted IP ranges. However, I have a cable modem (with a wireless router) at home and the IP address is not fixed. As a result, I have been using port 22210 for the ssh connections from home. Here is what I did to enable it:
In the /etc/ssh/sshd_config file, I have
Port 22
Port 22210
Next, 22210 is allowed in ufw by
sudo ufw allow 22210
The above setup has been working well until about two days ago, and now I get error messages as below
~% ssh -vvv server_name -p 22210
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to server_name port 22210.
debug1: connect to address server_name port 22210: Operation timed out
ssh: connect to host server_name port 22210: Operation timed out
I've been trying to figure out what's wrong and did some initial testing as below:
First, I want to make sure that 22210 is still open on the server, so I double checked /etc/ssh/sshd_config file and restarted sshd.service. Here is the output from systemctl and netstat
~% systemctl status sshd.service
● sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Sat 2015-01-10 20:21:31 CST; 33s ago
Main PID: 11641 (sshd)
CGroup: /system.slice/sshd.service
└─11641 /usr/bin/sshd -DJan 10 20:21:31 server_name systemd[1]: Started OpenSSH Daemon.
Jan 10 20:21:31 server_name sshd[11641]: Server listening on 0.0.0.0 port 22210.
Jan 10 20:21:31 server_name sshd[11641]: Server listening on :: port 22210.
Jan 10 20:21:31 server_name sshd[11641]: Server listening on 0.0.0.0 port 22.
Jan 10 20:21:31 server_name sshd[11641]: Server listening on :: port 22.~% netstat -an | grep :22210
tcp 0 0 0.0.0.0:22210 0.0.0.0:* LISTEN
tcp6 0 0 :::22210 :::* LISTEN
Second, I want to know if it has something to do with the ufw. I couldn't tell from the ufw status, so I disabled it completely. Afterwards, I could ssh in through port 22 (as expected). However, I still got the exactly same "Operation timed out" error above when trying to ssh in through port 22210.
Third, pinging to the server fails with "Request timeout" error, with or without the ufw enabled.
Fourth, I am able to ssh into another Arch desktop (server2) at work on the same subnet with the original server (server1), through port 22210, from home. And, most importantly, I am able to ssh in through port 22, 22210, and also ping server1 from server2!
Any thoughts/suggestions are appreciated.
Offline
It seems something else is blocking traffic between the you and the machine to try to connect to. To confirm; disable ufw temporarily and run "tcpdump host $HOME-IP" to check what sort of traffic you're seeing. Could this maybe be a NAT issue or does your desktop @work have an external internet IP address?
Offline
You should be able to, but can you ssh into the target box at work on port 22210 from another machine at work?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It seems something else is blocking traffic between the you and the machine to try to connect to. To confirm; disable ufw temporarily and run "tcpdump host $HOME-IP" to check what sort of traffic you're seeing. Could this maybe be a NAT issue or does your desktop @work have an external internet IP address?
Thanks for the reply. After disabling ufw (and downloading tcpdump), tcpdump showed that there was no traffic at all when I tried 22210, but quite a bit traffic when on 22. Here is what the output look like
For ssh -p 22210 server_name
~% sudo tcpdump -vv host home_ip
tcpdump: listening on enp11s0, link-type EN10MB (Ethernet), capture size 262144 bytes
For ssh -p 22 server_name
~% sudo tcpdump -vv host home_ip
tcpdump: listening on enp11s0, link-type EN10MB (Ethernet), capture size 262144 bytes
12:57:13.705947 IP (tos 0x0, ttl 51, id 47934, offset 0, flags [DF], proto TCP (6), length 64)
12:57:13.705947 IP (tos 0x0, ttl 51, id 47934, offset 0, flags [DF], proto TCP (6), length 64)
home_ip.62208 > server_name.ssh: Flags [S], cksum 0x0d4d (correct), seq 1903004597, win 65535, options [mss 1460,nop,wscale 5,nop,nop,TS val 372138944 ecr 0,sackOK,eol], length 0
12:57:13.706014 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
server_name.ssh > home_ip.62208: Flags [S.], cksum 0xbfb6 (incorrect -> 0x087e), seq 1560902435, ack 1903004598, win 28960, options [mss 1460,sackOK,TS val 68995159 ecr 372138944,nop,wscale 7], length 0
12:57:13.724834 IP (tos 0x0, ttl 51, id 45147, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x983f (correct), seq 1, ack 1, win 4117, options [nop,nop,TS val 372138966 ecr 68995159], length 0
12:57:13.729750 IP (tos 0x0, ttl 51, id 17404, offset 0, flags [DF], proto TCP (6), length 73)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0xd776 (correct), seq 1:22, ack 1, win 4117, options [nop,nop,TS val 372138969 ecr 68995159], length 21
12:57:13.729807 IP (tos 0x0, ttl 64, id 45945, offset 0, flags [DF], proto TCP (6), length 52)
server_name.ssh > home_ip.62208: Flags [.], cksum 0xbfae (incorrect -> 0xa751), seq 1, ack 22, win 227, options [nop,nop,TS val 68995167 ecr 372138969], length 0
12:57:13.730732 IP (tos 0x0, ttl 64, id 45946, offset 0, flags [DF], proto TCP (6), length 73)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfc3 (incorrect -> 0xe18b), seq 1:22, ack 22, win 227, options [nop,nop,TS val 68995167 ecr 372138969], length 21
12:57:13.749258 IP (tos 0x0, ttl 51, id 1638, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x97f6 (correct), seq 22, ack 22, win 4117, options [nop,nop,TS val 372138989 ecr 68995167], length 0
12:57:13.749284 IP (tos 0x0, ttl 64, id 45947, offset 0, flags [DF], proto TCP (6), length 1004)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc366 (incorrect -> 0xad45), seq 22:974, ack 22, win 227, options [nop,nop,TS val 68995172 ecr 372138989], length 952
12:57:13.749507 IP (tos 0x0, ttl 51, id 33443, offset 0, flags [DF], proto TCP (6), length 1500)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x2abb (correct), seq 22:1470, ack 22, win 4117, options [nop,nop,TS val 372138989 ecr 68995167], length 1448
12:57:13.749551 IP (tos 0x0, ttl 51, id 31994, offset 0, flags [DF], proto TCP (6), length 196)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x8e71 (correct), seq 1470:1614, ack 22, win 4117, options [nop,nop,TS val 372138989 ecr 68995167], length 144
12:57:13.749567 IP (tos 0x0, ttl 64, id 45948, offset 0, flags [DF], proto TCP (6), length 52)
server_name.ssh > home_ip.62208: Flags [.], cksum 0xbfae (incorrect -> 0x9d05), seq 974, ack 1614, win 272, options [nop,nop,TS val 68995173 ecr 372138989], length 0
12:57:13.763801 IP (tos 0x0, ttl 51, id 19566, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x8e12 (correct), seq 1614, ack 974, win 4087, options [nop,nop,TS val 372139002 ecr 68995172], length 0
12:57:13.773288 IP (tos 0x0, ttl 51, id 56966, offset 0, flags [DF], proto TCP (6), length 76)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x5ba7 (correct), seq 1614:1638, ack 974, win 4096, options [nop,nop,TS val 372139013 ecr 68995173], length 24
12:57:13.775887 IP (tos 0x0, ttl 64, id 45949, offset 0, flags [DF], proto TCP (6), length 332)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc0c6 (incorrect -> 0x73b1), seq 974:1254, ack 1638, win 272, options [nop,nop,TS val 68995180 ecr 372139013], length 280
12:57:13.828157 IP (tos 0x0, ttl 51, id 17751, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x8cbc (correct), seq 1638, ack 1254, win 4087, options [nop,nop,TS val 372139032 ecr 68995180], length 0
12:57:13.832965 IP (tos 0x0, ttl 51, id 15498, offset 0, flags [DF], proto TCP (6), length 324)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x5109 (correct), seq 1638:1910, ack 1254, win 4096, options [nop,nop,TS val 372139037 ecr 68995180], length 272
12:57:13.837100 IP (tos 0x0, ttl 64, id 45950, offset 0, flags [DF], proto TCP (6), length 900)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc2fe (incorrect -> 0x9809), seq 1254:2102, ack 1910, win 295, options [nop,nop,TS val 68995199 ecr 372139037], length 848
12:57:13.857743 IP (tos 0x0, ttl 51, id 31211, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x8825 (correct), seq 1910, ack 2102, win 4069, options [nop,nop,TS val 372139086 ecr 68995199], length 0
12:57:13.873521 IP (tos 0x0, ttl 51, id 27143, offset 0, flags [DF], proto TCP (6), length 68)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x7dc8 (correct), seq 1910:1926, ack 2102, win 4096, options [nop,nop,TS val 372139095 ecr 68995199], length 16
12:57:13.912824 IP (tos 0x0, ttl 64, id 45951, offset 0, flags [DF], proto TCP (6), length 52)
server_name.ssh > home_ip.62208: Flags [.], cksum 0xbfae (incorrect -> 0x96b3), seq 2102, ack 1926, win 295, options [nop,nop,TS val 68995222 ecr 372139095], length 0
12:57:13.926955 IP (tos 0x0, ttl 51, id 14751, offset 0, flags [DF], proto TCP (6), length 108)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x6435 (correct), seq 1926:1982, ack 2102, win 4096, options [nop,nop,TS val 372139161 ecr 68995222], length 56
12:57:13.926995 IP (tos 0x0, ttl 64, id 45952, offset 0, flags [DF], proto TCP (6), length 52)
server_name.ssh > home_ip.62208: Flags [.], cksum 0xbfae (incorrect -> 0x9635), seq 2102, ack 1982, win 295, options [nop,nop,TS val 68995226 ecr 372139161], length 0
12:57:13.927100 IP (tos 0x0, ttl 64, id 45953, offset 0, flags [DF], proto TCP (6), length 108)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfe6 (incorrect -> 0xe0b8), seq 2102:2158, ack 1982, win 295, options [nop,nop,TS val 68995226 ecr 372139161], length 56
12:57:13.943887 IP (tos 0x0, ttl 51, id 20730, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x8718 (correct), seq 1982, ack 2158, win 4094, options [nop,nop,TS val 372139175 ecr 68995226], length 0
12:57:13.943917 IP (tos 0x0, ttl 51, id 42776, offset 0, flags [DF], proto TCP (6), length 124)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x6d39 (correct), seq 1982:2054, ack 2158, win 4096, options [nop,nop,TS val 372139176 ecr 68995226], length 72
12:57:13.946056 IP (tos 0x0, ttl 64, id 45954, offset 0, flags [DF], proto TCP (6), length 108)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfe6 (incorrect -> 0x099c), seq 2158:2214, ack 2054, win 295, options [nop,nop,TS val 68995231 ecr 372139176], length 56
12:57:13.959071 IP (tos 0x0, ttl 51, id 55939, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x8682 (correct), seq 2054, ack 2214, win 4094, options [nop,nop,TS val 372139192 ecr 68995231], length 0
12:57:13.959143 IP (tos 0x0, ttl 51, id 6821, offset 0, flags [DF], proto TCP (6), length 428)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x2569 (correct), seq 2054:2430, ack 2214, win 4096, options [nop,nop,TS val 372139192 ecr 68995231], length 376
12:57:13.959494 IP (tos 0x0, ttl 64, id 45955, offset 0, flags [DF], proto TCP (6), length 380)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc0f6 (incorrect -> 0x73fc), seq 2214:2542, ack 2430, win 317, options [nop,nop,TS val 68995236 ecr 372139192], length 328
12:57:13.975599 IP (tos 0x0, ttl 51, id 46850, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x83ba (correct), seq 2430, ack 2542, win 4085, options [nop,nop,TS val 372139204 ecr 68995236], length 0
12:57:13.992422 IP (tos 0x0, ttl 51, id 42191, offset 0, flags [DF], proto TCP (6), length 700)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x2e83 (correct), seq 2430:3078, ack 2542, win 4096, options [nop,nop,TS val 372139218 ecr 68995236], length 648
12:57:13.993107 IP (tos 0x0, ttl 64, id 45956, offset 0, flags [DF], proto TCP (6), length 92)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfd6 (incorrect -> 0xc189), seq 2542:2582, ack 3078, win 340, options [nop,nop,TS val 68995246 ecr 372139218], length 40
12:57:14.009224 IP (tos 0x0, ttl 51, id 56371, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x80d4 (correct), seq 3078, ack 2582, win 4094, options [nop,nop,TS val 372139239 ecr 68995246], length 0
12:57:14.014731 IP (tos 0x0, ttl 51, id 22666, offset 0, flags [DF], proto TCP (6), length 180)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0xc32d (correct), seq 3078:3206, ack 2582, win 4096, options [nop,nop,TS val 372139240 ecr 68995246], length 128
12:57:14.014895 IP (tos 0x0, ttl 64, id 45957, offset 0, flags [DF], proto TCP (6), length 108)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfe6 (incorrect -> 0x6e3d), seq 2582:2638, ack 3206, win 362, options [nop,nop,TS val 68995252 ecr 372139240], length 56
12:57:14.029874 IP (tos 0x0, ttl 51, id 2380, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x8001 (correct), seq 3206, ack 2638, win 4094, options [nop,nop,TS val 372139260 ecr 68995252], length 0
12:57:14.037180 IP (tos 0x0, ttl 51, id 16120, offset 0, flags [DF], proto TCP (6), length 508)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x9cdb (correct), seq 3206:3662, ack 2638, win 4096, options [nop,nop,TS val 372139260 ecr 68995252], length 456
12:57:14.038313 IP (tos 0x10, ttl 64, id 45958, offset 0, flags [DF], proto TCP (6), length 172)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc026 (incorrect -> 0x7103), seq 2638:2758, ack 3662, win 385, options [nop,nop,TS val 68995259 ecr 372139260], length 120
12:57:14.038911 IP (tos 0x10, ttl 64, id 45959, offset 0, flags [DF], proto TCP (6), length 156)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc016 (incorrect -> 0xe8a4), seq 2758:2862, ack 3662, win 385, options [nop,nop,TS val 68995259 ecr 372139260], length 104
12:57:14.051536 IP (tos 0x0, ttl 51, id 23088, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x7da6 (correct), seq 3662, ack 2758, win 4092, options [nop,nop,TS val 372139282 ecr 68995259], length 0
12:57:14.056010 IP (tos 0x0, ttl 51, id 49551, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x7d41 (correct), seq 3662, ack 2862, win 4089, options [nop,nop,TS val 372139282 ecr 68995259], length 0
12:57:14.114517 IP (tos 0x10, ttl 64, id 45960, offset 0, flags [DF], proto TCP (6), length 188)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc036 (incorrect -> 0x76c3), seq 2862:2998, ack 3662, win 385, options [nop,nop,TS val 68995282 ecr 372139282], length 136
12:57:14.115668 IP (tos 0x10, ttl 64, id 45961, offset 0, flags [DF], proto TCP (6), length 172)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc026 (incorrect -> 0xb854), seq 2998:3118, ack 3662, win 385, options [nop,nop,TS val 68995282 ecr 372139282], length 120
12:57:14.115824 IP (tos 0x10, ttl 64, id 45962, offset 0, flags [DF], proto TCP (6), length 180)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc02e (incorrect -> 0xa925), seq 3118:3246, ack 3662, win 385, options [nop,nop,TS val 68995282 ecr 372139282], length 128
12:57:14.126694 IP (tos 0x0, ttl 51, id 4676, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x7c55 (correct), seq 3662, ack 2998, win 4091, options [nop,nop,TS val 372139357 ecr 68995282], length 0
12:57:14.132408 IP (tos 0x0, ttl 51, id 45479, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x7bdc (correct), seq 3662, ack 3118, win 4092, options [nop,nop,TS val 372139357 ecr 68995282], length 0
12:57:14.132439 IP (tos 0x0, ttl 51, id 63044, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x7b5c (correct), seq 3662, ack 3246, win 4092, options [nop,nop,TS val 372139357 ecr 68995282], length 0
12:57:16.304807 IP (tos 0x0, ttl 51, id 58728, offset 0, flags [DF], proto TCP (6), length 92)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x3e5a (correct), seq 3662:3702, ack 3246, win 4096, options [nop,nop,TS val 372141519 ecr 68995282], length 40
12:57:16.305126 IP (tos 0x10, ttl 64, id 45963, offset 0, flags [DF], proto TCP (6), length 92)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfd6 (incorrect -> 0x12e3), seq 3246:3286, ack 3702, win 385, options [nop,nop,TS val 68995939 ecr 372141519], length 40
12:57:16.346131 IP (tos 0x0, ttl 51, id 40654, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x6ff5 (correct), seq 3702, ack 3286, win 4094, options [nop,nop,TS val 372141537 ecr 68995939], length 0
12:57:16.890370 IP (tos 0x0, ttl 51, id 51054, offset 0, flags [DF], proto TCP (6), length 92)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0xe070 (correct), seq 3702:3742, ack 3286, win 4096, options [nop,nop,TS val 372142097 ecr 68995939], length 40
12:57:16.890679 IP (tos 0x10, ttl 64, id 45964, offset 0, flags [DF], proto TCP (6), length 108)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfe6 (incorrect -> 0xd134), seq 3286:3342, ack 3742, win 385, options [nop,nop,TS val 68996115 ecr 372142097], length 56
12:57:16.902627 IP (tos 0x0, ttl 51, id 42822, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x6ca4 (correct), seq 3742, ack 3342, win 4094, options [nop,nop,TS val 372142114 ecr 68996115], length 0
12:57:16.956459 IP (tos 0x0, ttl 51, id 3746, offset 0, flags [DF], proto TCP (6), length 92)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0xa0f4 (correct), seq 3742:3782, ack 3342, win 4096, options [nop,nop,TS val 372142167 ecr 68996115], length 40
12:57:16.956611 IP (tos 0x10, ttl 64, id 45965, offset 0, flags [DF], proto TCP (6), length 92)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfd6 (incorrect -> 0x64f3), seq 3342:3382, ack 3782, win 385, options [nop,nop,TS val 68996135 ecr 372142167], length 40
12:57:16.975721 IP (tos 0x0, ttl 51, id 50433, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x6bff (correct), seq 3782, ack 3382, win 4094, options [nop,nop,TS val 372142179 ecr 68996135], length 0
12:57:17.078350 IP (tos 0x0, ttl 51, id 7955, offset 0, flags [DF], proto TCP (6), length 92)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0xba4e (correct), seq 3782:3822, ack 3382, win 4096, options [nop,nop,TS val 372142279 ecr 68996135], length 40
12:57:17.078483 IP (tos 0x10, ttl 64, id 45966, offset 0, flags [DF], proto TCP (6), length 92)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbfd6 (incorrect -> 0x4bc9), seq 3382:3422, ack 3822, win 385, options [nop,nop,TS val 68996171 ecr 372142279], length 40
12:57:17.094887 IP (tos 0x0, ttl 51, id 42006, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x6b0e (correct), seq 3822, ack 3422, win 4094, options [nop,nop,TS val 372142304 ecr 68996171], length 0
12:57:17.128955 IP (tos 0x0, ttl 51, id 43029, offset 0, flags [DF], proto TCP (6), length 92)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x5ee5 (correct), seq 3822:3862, ack 3422, win 4096, options [nop,nop,TS val 372142326 ecr 68996171], length 40
12:57:17.131433 IP (tos 0x10, ttl 64, id 45967, offset 0, flags [DF], proto TCP (6), length 220)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xc056 (incorrect -> 0xaf8a), seq 3422:3590, ack 3862, win 385, options [nop,nop,TS val 68996187 ecr 372142326], length 168
12:57:17.131540 IP (tos 0x10, ttl 64, id 45968, offset 0, flags [DF], proto TCP (6), length 132)
server_name.ssh > home_ip.62208: Flags [P.], cksum 0xbffe (incorrect -> 0x27de), seq 3590:3670, ack 3862, win 385, options [nop,nop,TS val 68996187 ecr 372142326], length 80
12:57:17.147256 IP (tos 0x0, ttl 51, id 65082, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x6a00 (correct), seq 3862, ack 3590, win 4090, options [nop,nop,TS val 372142354 ecr 68996187], length 0
12:57:17.147283 IP (tos 0x0, ttl 51, id 51736, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x69b2 (correct), seq 3862, ack 3670, win 4088, options [nop,nop,TS val 372142354 ecr 68996187], length 0
12:57:17.153243 IP (tos 0x0, ttl 51, id 29984, offset 0, flags [DF], proto TCP (6), length 92)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0x30b0 (correct), seq 3862:3902, ack 3670, win 4096, options [nop,nop,TS val 372142360 ecr 68996187], length 40
12:57:17.179743 IP (tos 0x0, ttl 51, id 10466, offset 0, flags [DF], proto TCP (6), length 124)
home_ip.62208 > server_name.ssh: Flags [P.], cksum 0xa56e (correct), seq 3902:3974, ack 3670, win 4096, options [nop,nop,TS val 372142360 ecr 68996187], length 72
12:57:17.179758 IP (tos 0x0, ttl 51, id 34298, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [F.], cksum 0x6933 (correct), seq 3974, ack 3670, win 4096, options [nop,nop,TS val 372142360 ecr 68996187], length 0
12:57:17.179777 IP (tos 0x10, ttl 64, id 45969, offset 0, flags [DF], proto TCP (6), length 52)
server_name.ssh > home_ip.62208: Flags [.], cksum 0xbfae (incorrect -> 0x77a3), seq 3670, ack 3975, win 385, options [nop,nop,TS val 68996202 ecr 372142360], length 0
12:57:17.182753 IP (tos 0x10, ttl 64, id 45970, offset 0, flags [DF], proto TCP (6), length 52)
server_name.ssh > home_ip.62208: Flags [F.], cksum 0xbfae (incorrect -> 0x77a2), seq 3670, ack 3975, win 385, options [nop,nop,TS val 68996202 ecr 372142360], length 0
12:57:17.197976 IP (tos 0x0, ttl 51, id 49950, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x68f8 (correct), seq 3975, ack 3670, win 4096, options [nop,nop,TS val 372142404 ecr 68996202], length 0
12:57:17.198019 IP (tos 0x0, ttl 51, id 33977, offset 0, flags [DF], proto TCP (6), length 52)
home_ip.62208 > server_name.ssh: Flags [.], cksum 0x68f8 (correct), seq 3975, ack 3671, win 4095, options [nop,nop,TS val 372142404 ecr 68996202], length 0
I am not sure if it could be a NAT issue. Any test I can run? I don't think my work desktop, a.k.a. server_name, has an external internet IP address. ip addr shows the same IP address that my home DNS resolves while ssh or ping.
What's baffling to me is that, if there were any up-level blocking, why could I ssh in the other Arch machine at work? The setups on sshd_config and ufw are the same.
You should be able to, but can you ssh into the target box at work on port 22210 from another machine at work?
Thanks for the reply. Yes, I was able to ssh in on 22210 from the other work machine on the same subnet, with or without ufw.
Last edited by AwesomeStevieee (2015-01-11 19:44:16)
Offline
The fact that you see no traffic when attempting the 22210 port confirms something else is blocking that traffic. You don't have an outgoing firewall? If your work-desktop has no external ip-address; it's probably a NAT issues, are you in control of the modems & routers that connect your work-desktop to the internet?
Offline
Agreed. Almost sounds like 22210 is not setup to forward to your target LAN IP addy.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I don't think my work desktop, a.k.a. server_name, has an external internet IP address. ip addr shows the same IP address that my home DNS resolves while ssh or ping.
Are you telling us that your work pc has a public IP address? If so, most likely it is one of the ISPs that's blocking your traffic on port 22210.
Offline