1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to route attached device through another attached device ? (Newbie)

Discussion in 'Tomato Firmware' started by mgrammatica, Jan 5, 2014.

  1. mgrammatica

    mgrammatica Reformed Router Member

    Hello all at Linksysinfo,

    i have a few questions that you may be able to assist me with since i am a complete networking newb and have been tearing at my scalp for the past 24 hours trying to research.

    I 'basically' want to route an attached device (PS3) on my Linksys E4200 router (Victek RAF) through another attached device (WinXP Laptop) which will be running as a proxy server, hopefully with some encryption.

    I know it is possible to enable connection sharing in WinXP and just connect the PS3 directly to the laptop, however the laptop only has one wired port and i don't want to use the wireless connection.

    I also still need the PS3 to maintain usage of the DMZ and QoS prioritizing. So im a little confused here regarding how this is done if i will be connecting through the WinXP laptop, i don't think putting the laptop in the DMZ is a good idea (!?) unless of course i limit its connections to my local network only.
    No idea how.

    I do have another router (WRT54GL with old tomato fw) if this is of any use.

    I was beginning to look into static routes, vLan, etc on the router but after researching and configuring proxies and encryption methods (privoxy, OpenVPN, m0n0wall, WANem, etc) my brain is truly out of steam.

    On a side note, on the WinXP laptop im intending to create a delay (WANem) and an encrypted proxy (undecided software) for the PS3 to route through. If anyone knows a good approach to this and how to get WANem (or alternative) to work with the proxy then i shall truly buy thee a drink via Paypal.

    Thanks very much.
     
  2. mgrammatica

    mgrammatica Reformed Router Member

    Ok heres what i've done so far using the tomato gui ;

    Created an additional LAN (LAN 1)

    Created an additional vLAN and bridged it to the new LAN 1 as above.

    Enabled that LAN 1 on ethernet port 4 and connected the WinXP laptop (with WANem on) to it.

    I've assigned static IPs to all devices concerned and configured accordingly, making sure the correct subnets, etc are used.

    Now i need to route the PS3 which is connected to the default LAN (0) to the WinXP Laptop.
    Here is where im stuck.
    After some reading, i think that i can use static routing to achieve this, so i routed the IP of the PS3 with the WinXP laptop entered as the default gateway, also using the LAN (1) of the laptop as the interface.

    Could anyone tell me if im on the right path please ! Your time and effort is most appreciated.
     
  3. gfunkdave

    gfunkdave LI Guru Member

    What are you trying to accomplish?
     
  4. mgrammatica

    mgrammatica Reformed Router Member

    Thanks for the reply.

    Im trying to use a WinXP laptop as a proxy server or WAN emulator (or both if possible) and then route the PS3's connection through it, hopefully using a router configuration.

    If i simply enter the proxy address into the PS3 it only connects traffic destined for ports 442 and 80, the gaming ports simply connect without the proxy.

    So i think i need the laptop to act as a network so i can just enter its IP, etc into the PS3 ?

    Thanks alot.
     
  5. gfunkdave

    gfunkdave LI Guru Member

    But why are you trying to do this? There may be an easier way, if you tell us what you're trying to accomplish.
     
  6. mgrammatica

    mgrammatica Reformed Router Member

    Ah sorry yes,

    Im using WANem to add a latency to my line to balance my connection with other gamers and im hoping to use something to encrypt my PS3s traffic since my ISP appears to be somehow throttling or controlling this data (mainly UDP) and it is resulting in data loss. Any other functions that don't rely heavily on UDP work perfectly.
    The drastic change in performance appeared almost suddenly a week before christmas, which i expected to be high utilization. However with some experimentation on other applications i was able to notice an improvement with UDP handling if i used encryption.
    The game only uses about 300 kbps up and down and i pay alot of money for my connection. Any attempts to negotiate with my ISP have been futile. Considering the media and phone package i have it would be difficult to go elsewhere, although apparently this problem isn't exclusive to my ISP only.
    This drastic change in performance has happened before and the ISP blamed a fault which would take an entire month or so to repair. The 'fault' was just high utilization from them oversubscribing customers and clamped down on what they believed to be torrent traffic.

    This minute im trying CCProxy on the laptop proxy server but the PS3 only sends data to it when browsing, gaming data is sent via default router/gateway. So im trying to figure out how to configure CCProxy so the PS3 will accept it as a default gateway, which i don't think is possible.

    Thanks for listening !
     
  7. mgrammatica

    mgrammatica Reformed Router Member

    Update.

    Well bless my socks (no pun intended), i've managed to get WANem and CCProxy to co-incide on the WinXP machine by giving WANem a different IP than CCProxy. By using the WANem IP address as the default gateway on the PS3 and CCProxy as the entered proxy server, im now able to add latency to the PS3s connection (tested with its browser and pingtest). Somehow, it has also improved the reported jitter drastically. But this is only for non-game traffic.
    Now i just need to configure CCProxy or WinXP to act as a default gateway for the PS3 to send its game traffic to.
    This would all be much easier with 2 network cards, but running a PC with such is not a luxury i have atm.
     

Share This Page