New answers tagged

0

Tips which helped me: A.)Port forward B.)Set the public IP as server_name These steps worked for me especially tip A.)


6

As stated, this is the way IP was designed to work, and it does work well. NAT introduces annoying problems at times. Some have described NAT's "hiding" of the internal IP as an advantage, but it can also be a disadvantage. I worked in a place with a /16 and we used publicly routable IPv4 addresses on every device (including printers and mobile phones and ...


3

The IPv6 proponets saw NAT as a temporary hack to alleviate IPv4 address exhaustion and hence NAT would not be needed with IPv6. However NAT has a few advantages other than stopping address exhaustion. NAT decouples your internal addressing from your internet connectivity. At least on linux, NAT tends to fail-closed. If the iptables rules fail to load ...


26

Is that how IPv6 is intended to work? In short, yes. One of the primary reasons for increasing the address space so drastically with IPv6 is to get rid of band-aid technologies like NAT and make network routing simpler. But don't confuse the concept of a public address and a publicly accessible host. There will still be "internal" servers that are not ...


14

If there is no need for outside connectivity, then private networks can be used. That is the reason for defining private address space also in IPv6. NAT is a hack that was invented to delay IPv4 address space exhaustion. NAT causes issues with applications, and to get the applications to work with NAT, more hacks are needed which conflict with the original ...


18

We use public IPv6 addresses in our company network for all devices. We use a stateful firewall on our gateway, that: allows all icmpv6 allows new connections from internal network out allows established connections from public to internal No public traffic (except ICMP and established connections) should get into our network. So far we had no problems ...


3

Most networking related tools like ping will have an option to select the source IP they will use for outgoing connections, so for example with ping you can use ping -I IP-B. For all traffic to use IP-B you will need to adjust the primary/first IP for the interface that your default route points to to IP-B. What Linux does is look up a route for your ...


0

Try: ifconfig | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' | xargs -L1 nslookup Your output will be something like that: Server: 192.168.1.1 Address: 192.168.1.1#53 7.1.168.192.in-addr.arpa name = mysql-master. Server: 192.168.1.1 Address: 192.168.1.1#53 1.0.0.127.in-addr.arpa name = localhost. Take a ...



Top 50 recent answers are included