Koozali.org: home of the SME Server

Nat 1to1 - anyone has it working? ideas welcomed

Offline hardijs

  • ****
  • 77
  • +0/-0
Nat 1to1 - anyone has it working? ideas welcomed
« on: April 19, 2004, 07:09:10 PM »
I have "sme" 6.0

tried the easy way -http://www.tech-geeks.org/contrib/mdrone/1-to-1/

say I have the IP 195.0.0.1 that is the main ip (all the std services etc)
now I have another subnet 62.85.0.74, 62.85.0.75,62.85.0.76

the internal network is 192.168.0.1/24

The text file was edited to have the additional ip's point like  this
62.85.0.74->192.168.0.250
62.85.0.75->192.168.0.251
62.85.0.76->192.168.0.252

I am missing something and quite lost.

also

the "iptables --list" shows quite different info from "service masq status"
ie - no Chain CustomNATin (2 references)
nor Chain CustomNATout (2 references)
in the iptables listing.... So I am not sure they work despite they show up un the "service masq status"

also I found that unless the .pl script was edited to have ip with full directory - ie "/sbin/ip" it did not add (ie showed up in ip address listing)