Hi all,
I'm trying to test the nsis implementation but I have some difficults to adjust the configuration file (nsis.conf). I have a laptop with one wireless interface (192.168.1.101) that access to wired network through an access point (192.168.1.1). The wired network is 193.144.186.0 with defaul gateway 193.144.186.1. The route command in the laptop show the following info:
# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
Then, I had adjusted the nsis.conf as is showed below but I got the following error messages when I ran "nsis -i" command:
(err) Using 192.168.1.1 as local IPv4 address (err) Using 193.144.186.1 as local IPv4 address
Someone know what my mistake is?
Cheers,
Johnny
nsis.conf --------- IPv4.entries = 2
# The first entry is meant as a default route. It is used when # no subsequent entry matches. IPv4[0].addr = 192.168.1.1 IPv4[0].net = 0.0.0.0 IPv4[0].mask = 0 # Use this address as the external address for NatFW NSLP IPv4[0].natfw.useAsExternalAddress = yes # Default network is public (i.e. the global internet) IPv4[0].natfw.isPrivateNet = no
# This entry defines the outgoing local interface card IPv4[1].addr = 193.144.186.1 # These entries define the network segment you want to reach # with the previously defined outgoing interface card IPv4[1].net = 193.144.186.0 IPv4[1].mask = 24 # The network 192.168.0.0/24 is private IPv4[1].natfw.isPrivateNet = yes
nsis_imp@informatik.uni-goettingen.de