Routing port from Linux to Mac OS X

Discussion in 'Linux Virtual Machine' started by MaziarT, Apr 25, 2012.

  1. MaziarT

    MaziarT Bit poster

    Messages:
    1
    Dear Linux users,

    Im running Ubuntu for development and i would like to route some ports from Ubuntu to Mac OS X.

    Is this possible?

    Im running Parallels 7 Build 7.0.14920

    Thanks in advance.
     
  2. BallO

    BallO Hunter

    Messages:
    139
    Assuming I understand what you want...

    If you want to map an incoming port to another IP, there are many ways to do this. You can use the firewall, or netcat.

    For example, if you use ipfw:

    sudo ipfw add 180 forward 10.211.55.3,8080 ip from any to any 80 in

    Would, I believe, forward port 80 to 10.211.55.3:8080.

    netcat:

    http://en.wikipedia.org/wiki/Netcat#Port_Forwarding_or_Port_Mapping
     

Share This Page