Connect to Internet in guess OS

Discussion in 'General Questions' started by wishlog, Jan 25, 2007.

  1. wishlog

    wishlog Bit poster

    Messages:
    1
    I using Parallels Desktop on MAC OS to run Windows XP,

    I connect to internet through PPTP VPN connection in MAC OS,

    How can I connect to internet in Windows XP (guest OS)?

    I do a search in this forum and someone say:

    1. Connect VPN in MAC OS
    2. run the script:
    #!/bin/sh\
    echo "Setting net.inet.ip.forwarding to 1..."\
    sysctl -w net.inet.ip.forwarding=1\
    echo "Starting natd on ppp0 interface..."\
    natd -interface ppp0\
    echo "Setting ipfw divert natd via ppp0..."\
    ipfw add divert natd ip from any to any via ppp0}
    3. Run windows xp in "host connection mode" i forgot the name :)

    But that's don't work for me, what should I do?
     

Share This Page