Packet redirect

From: Tom Servo (xtomservox_at_hotpop.com)
Date: 07/10/03

  • Next message: Eric B.: "Question - startx, KDE"
    To: <freebsd-newbies@freebsd.org>
    Date: Thu, 10 Jul 2003 11:48:07 -0400
    
    

    Hey-
    I have a freebsd gateway machine that runs ipfw and nat for my home network
    and I want to add a rule that redirects VNC packets through the gateway to
    my windows machine so that I can VNC to my home machine to do some stuff.
    How should I phrase the rule correctly without screwing up the natd service?
    I am guessing it should go something like this:
    ipfw add 1000 divert 8888 ip from any to 192.168.0.253:5800 via ep1
    Is this correct? I need it to only redirect packets for the VNC port.
    Thanks
    -ts

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "On really romantic nights of self, I go salsa dancing with my confusion."

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


  • Next message: Eric B.: "Question - startx, KDE"

    Relevant Pages

    • IPFW fun
      ... I have a freebsd gateway machine that runs ipfw and nat for my home network ... and I want to add a rule that redirects VNC packets through the gateway to ... my windows machine so that I can VNC to my home machine to do some stuff. ...
      (freebsd-hackers)
    • Re: Cant connect via VNC from work to home
      ... > I've been trying various versions of VNC to ... I can still connect UltraVNC to a friend's PC (and ... it appears my workplace has a firewall in place that is preventing ... allow you to connect out on port 80 to your home network, ...
      (comp.security.firewalls)