gray network and ipfw2

From: Q?=al vanyushenkovQ=20?= (vanyushenkov_at_nettmail.de)
Date: 12/30/03

  • Next message: Bogdan TARU: "strange ICMP problems"
    Date: Tue, 30 Dec 2003 07:42:14 +0200 (EET)
    To: undisclosed-recipients: ;
    
    
    

    hi all
    i have freebsd 4.8 installed and i use ipfw2 with the rules

    #!/bin/sh
    fwcmd=/sbin/ipfw
    ${fwcmd} -f flush

    #!/bin/sh
    ipfw='/sbin/ipfw'
    $ipfw -f flush

    $ipfw add divert natd all from any to any via ppp0
    $ipfw add allow log all from any to any

    my local ethernet card has 192.168.133.7 ip address
    and my ppp0 interface has 217.15.x.x ip address.

    when i tried to connect to 195.54.192.44:21 from my local box i got the lines

    Accept TCP 172.16.202.106:4802 195.54.192.44:21 out via ppp0
    Accept TCP 195.54.192.44:21 172.16.202.106:4802 in via ppp0
    and so on.

    as i know 172.16.0.0 are gray addresses and i haven't got any 172.16.x.x networks
    in my environment.
    Could anybody tell me what 172.16.202.106:4802 does in my log file.

    Thanks
    vanyushenkov al
    _______________________________________________
    freebsd-ipfw@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
    To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"

    
    

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Bogdan TARU: "strange ICMP problems"

    Relevant Pages

    • gray network and ipfw2
      ... $-f flush ... $ipfw add divert natd all from any to any via ppp0 ... and my ppp0 interface has 217.15.x.x ip address. ... To unsubscribe, ...
      (freebsd-isp)
    • gray network and ipfw2
      ... $-f flush ... $ipfw add divert natd all from any to any via ppp0 ... and my ppp0 interface has 217.15.x.x ip address. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Things to remove from /rescue
      ... >> If I did need to get to the Internet to get bits, what does ipfw do ... > ipfw -q flush ... the Internet that will fix your FUBAR'ed /lib. ... To unsubscribe, ...
      (freebsd-arch)
    • Re: Problem with "ipfw flush"
      ... kldload ipfw && ipfw add 65000 allow ip from any to any ... I have tables and pipes in play, and I believe a regular ipfw flush doesn't clear them. ... Is there a universal "reset EVERYTHING" command? ... > isn't working via ssh. ...
      (freebsd-questions)
    • Re: Problem with "ipfw flush"
      ... firewall_script on line 131 with "sh", not with ipfw. ... writes to the terminal, which after the flush, it can't. ... mend the following command line: ... isn't working via ssh. ...
      (freebsd-questions)