SHARE
TWEET
Untitled
a guest
Dec 22nd, 2016
84
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- [Problem]
- I can acccess SSH using private ip, but can't access using public ip
- [Environment]
- ifconfig
- ens18 = public ip
- ens19 = private ip
- netstat -tnl
- Active Internet connections (only servers)
- Proto Recv-Q Send-Q Local Address Foreign Address State
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
- tcp6 0 0 :::22 :::* LISTEN
- route
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- default 192.168.1.1 0.0.0.0 UG 0 0 ens19
- 192.168.1.0 * 255.255.255.0 U 0 0 ens19
- 220.125.160.0 * 255.255.255.0 U 0 0 ens18
RAW Paste Data
