IP Masq is running fine on the nix router 192.168.1.1 and no problem
accessing the internet. But i need this machine to have a public IP so i
can access to it remotely on ssh and ftp
I think you had better show us a diagram of your network. From what
you had posted, it sounded like this box had eth0 connected to the
Internet, and eth1 connected to the local network. But it sounds
like this in not the case. So we would need to know what eth0
connects to, and how this machine hooks to the Internet. Something like:
Internet ---speedtouch modem
| |
| |_eth0 12.73.1.180___Nix Router eth1
192.168.1.1
| |
|
Switch--- Computers
| |
|__eth0 12.73.1.185_____ Samba eth1 192.168.1.150
This ADSL connection comes with 16 static IPs. One IP is assigned to the nix
router. Another to the Samba. I do not want to do port forward to the samba
machine as some service ports are being used on the nix router. By doing the
above setup, i was hoping that the local users can access samba via LAN and
remote users can ftp files to the samba machine via the public IP. And i can
ssh to it to do maintenance when i am not in the office.