Don't forget to capture the packets in ipf. ex:
/etc/ipnat.conf
rdr xl0 from 192.168.1.0/24 to any -> 200.161.76.110 port 5122 tcp
[xl0] is a LAN interface
[192.168.1.0/24] is the lan address
[200.161.76.110] is the netsplitter address.
Ps: change the interface address and names
!! DONT FORGET TO ADD UDP AND ICMP NAT CONFIGURATION !!
Config File: /etc/netsplitter.conf
INTERFACE rl0 200.161.76.110 256
INTERFACE xl0 200.212.76.185 256
PING 1.1.1.1
PING 2.2.2.2
- where
- [rl0] is a internet network link ( ethX on linux ) [200.161.76.110] Is the rl0 network address. [256] link speed, in kbps.
[xl0] is a internet network link ( ethX on linux ) [200.212.76.185] Is the xl0 network address. [256] link speed, in kbps.
[1.1.1.1]
[2.2.2.2] A IP address that response to ping. NetSplitter will use this to
check if a link is up or down.
