insomniux <(E-Mail Removed)> wrote:
> You're right. The signal must come from the LAN, not from the outer
> world. I've tried to catch the signals to ppp0 but without any result.
"tcpdump -i ppp0" doesn't work? Maybe I'm not understanding "catch."
> Therefor I thought about the possibility to block all requests to ppp0
> except those which originate from 192.168.0.3, or make iptables
> actually start the connection only after a request is received from
> 192.168.0.3 .
You can use the pppd active-filter option to block some specific
types of traffic ala tcpdump filtering. This must be supported in
the kernel and pppd must also support it. Both of these may need to
be reconfigured and recompiles. (for pppd the FILTER option in it's
Makefile must be uncommented).
A packet reaching the PPP interface "starts the connection," not iptables.
If you don't care whether 192.168.0.3 can reach the Internet or not then
used "echo 0 > /proc/sys/net/ipv4/ip_forward" to disable IP forwarding.
This would have to be configured in a boot-up file to make it permanent;
which file varies with the Linux distribution used.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"