hello,
Cannot access from outside.
first, 10.10.10.10 is LAN ip and 1.1.1.1 is WAN(Static NAT) IP.
When you run the [ ip addr ] command on my server:
1: lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:00:00:0f brd ff:ff:ff:ff:ff:ff
inet 10.10.10.10/24 brd 10.0.0.255 scope global dynamic noprefixroute eth0
valid_lft 35643sec preferred_lft 35643sec
inet 1.1.1.1/24 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe00:f/64 scope link
valid_lft forever preferred_lft forever
config files directadmin.conf setting is
lan_ip=10.10.10.10
[ ifdown eth0 & ifup eth0 ] The command disappears the 1.1.1.1 IP.
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:00:00:0f brd ff:ff:ff:ff:ff:ff
inet 10.10.10.10/24 brd 10.0.0.255 scope global dynamic noprefixroute eth0
valid_lft 35995sec preferred_lft 35995sec
inet6 fe80::215:5dff:fe00:f/64 scope link
valid_lft forever preferred_lft forever
1.1.1.1 When there is no IP, you can access it from outside. (Web, SSH, ...)
but, it will be recovered upon reboot. and cannot access.
how can i fix it?
Cannot access from outside.
first, 10.10.10.10 is LAN ip and 1.1.1.1 is WAN(Static NAT) IP.
When you run the [ ip addr ] command on my server:
1: lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:00:00:0f brd ff:ff:ff:ff:ff:ff
inet 10.10.10.10/24 brd 10.0.0.255 scope global dynamic noprefixroute eth0
valid_lft 35643sec preferred_lft 35643sec
inet 1.1.1.1/24 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe00:f/64 scope link
valid_lft forever preferred_lft forever
config files directadmin.conf setting is
lan_ip=10.10.10.10
[ ifdown eth0 & ifup eth0 ] The command disappears the 1.1.1.1 IP.
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:00:00:0f brd ff:ff:ff:ff:ff:ff
inet 10.10.10.10/24 brd 10.0.0.255 scope global dynamic noprefixroute eth0
valid_lft 35995sec preferred_lft 35995sec
inet6 fe80::215:5dff:fe00:f/64 scope link
valid_lft forever preferred_lft forever
1.1.1.1 When there is no IP, you can access it from outside. (Web, SSH, ...)
but, it will be recovered upon reboot. and cannot access.
how can i fix it?