basic SSR configuration
!!!! WARNING: Upgrade
Warning:
SKY Modem Firewall: use the Public IP address of the interface, be carefull the SSR as 2 public IP address!
...
Neighohood: use the NAT-target = AWS public IP of the SSR of network interface!
|
|
---|
|
Code Block |
---|
| [root@ip-172-31-130-240 ~]# lshw -c network -businfo
Bus info Device Class Description
====================================================
pci@0000:00:05.0 ens5 network Elastic Network Adapter (ENA)
pci@0000:00:06.0 ens6 network Elastic Network Adapter (ENA)
pci@0000:00:07.0 ens7 network Elastic Network Adapter (ENA)
kni254 network Ethernet interface
|
|
ip address | ens5 = inet 172.31.130.240/24
Code Block |
---|
| [root@ip-172-31-130-240 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
link/ether 06:1b:92:7c:24:c5 brd ff:ff:ff:ff:ff:ff
inet 172.31.130.240/24 brd 172.31.130.255 scope global dynamic ens5
valid_lft 2785sec preferred_lft 2785sec
inet6 fe80::41b:92ff:fe7c:24c5/64 scope link
valid_lft forever preferred_lft forever
3: ens6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 06:54:95:78:b5:65 brd ff:ff:ff:ff:ff:ff
4: ens7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 06:23:04:70:d2:a1 brd ff:ff:ff:ff:ff:ff
5: kni254: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether c2:27:3b:ba:11:fb brd ff:ff:ff:ff:ff:ff
inet 169.254.127.127/31 brd 255.255.255.255 scope global kni254
valid_lft forever preferred_lft forever
inet6 fe80::c027:3bff:feba:11fb/64 scope link
valid_lft forever preferred_lft forever
|
|
ip route | default troute: ens5
Code Block |
---|
| [root@ip-172-31-130-240 ~]# ip r
default via 172.31.130.1 dev ens5
169.254.127.126/31 dev kni254 proto kernel scope link src 169.254.127.127
172.31.130.0/24 dev ens5 proto kernel scope link src 172.31.130.240
|
|
on AWS console | Image Modified |
EC2 > Instance > networking | Image Modified |
from the Cloudformation | Image Modified |