Discussion Locked

FreeBSD: Nat

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can anybody tell me, how can i watch user's connections, which is using internet threw NAT (on FreeBSD).

(sorry for my poor english)

7 replies

by borrgh

use tcpdump command,
like:
tcpdump -i tun0
to listen for ppp interface
see manual for further info

by achuprinin

It is rather difficult (if not impossible) to monitor connections if you use 'natd`.
Try to use 'ipnat`. For details help see 'man ipnat` and see also section in it.
Good luck.
Alexey

by aaron v

I used NAT on a FreeBSD 3.1 system with WindowMaker. I used the Dockable Network Monitor application to watch the traffic on both the NIC and the Modem. I was able to watch traffic both into and out of the system.

Also, you can use "snoop" to watch a ports or protocols on the host.

This discussion is closed to new replies.