09-15-2019, 04:16 PM
(09-15-2019, 02:10 PM)Hidden Refuge Wrote: "Public Zone" & "Private Zone" are two technical terms you will never hear or find if you are using just pure iptables. These terms are usually only used when you have a server with Redhat Enterprise Linux, CentOS or Fedora with firewalld. Just saying this to avoid confusion. You might not catch the relation now but maybe later you will. Especially important if as said you use one of the OSs I mentioned.1. My server has an eth0 interface
Anyway... A few questions to clear things up:
a) Does your server have a eth0 interface? OpenVZ for example doesn't have such interfaces. If you use KVM with newer OSs they usually have different interface names like enp0s1 and such.
b) 170.0.0.1 is what? Is that supposed to be a internal address? Is that assigned inside your server? Are you trying to forward to loopback? The loopback address is 127.0.0.1 but not 170.0.0.1. You most likely don't even own this IP address: https://www.ipaddress.com/ipv4/170.0.0.1
c) Which OS are you using and what kind of server do you have? Virtual? Dedicated? OpenVZ? KVM?
d) What is your current firewall configuration?
2. That typo I should write 127.0.0.1
3. Ubuntu 18.04 (KVM)
4. Firewalls only allow incoming connections from ports 22 & 22022