Hello all!
I have FreeBSD server with ipfw (firewall and nat), with 2 nic: local network (eth0) and Internet (eth1).
I have task to log all connections (all ports and protocols) from local network to specific IP address on Internet.
Write log to /var/log/ip.log (example)
How can I do this task by ipfw ?
Now I temporary use "nohup tcpdump -i eth0 -v dst {IP on inet} -l -tttt >> /var/log/IPaddr.log &"
I have FreeBSD server with ipfw (firewall and nat), with 2 nic: local network (eth0) and Internet (eth1).
I have task to log all connections (all ports and protocols) from local network to specific IP address on Internet.
Write log to /var/log/ip.log (example)
How can I do this task by ipfw ?
Now I temporary use "nohup tcpdump -i eth0 -v dst {IP on inet} -l -tttt >> /var/log/IPaddr.log &"