Results 1 to 2 of 2

Thread: Using VPN for certain ports

  1. #1
    99shassan's Avatar Poster BT Rep: +1
    Join Date
    Jul 2003
    Posts
    787
    I wanted to know if this was possible, is there a way to encrypt only certain protocols? For example, only encrypt bittorrent traffic on a certain port. Leaving the rest unencrypted.
    Changed SPAN settings in sig a YEAR after it was removed

  2. Software & Hardware   -   #2
    Expeto's Avatar current user title
    Join Date
    Apr 2010
    Posts
    472
    in Linux, takes a few minutes with the iptables.
    goes something like this if you are using this client;
    iptables -t nat -A PREROUTING -p tcp --source-port 6881:6999 -j DNAT --to [your proxy server]
    but copy paste probably wont work, you need to gets your hands dirty get this work.


    in Windows, more tricky
    I made a similar set up in my friends windows box, we used putty to forward a local port to the remote machine. Also used comodo firewall to stop leaks but I can't remember how the hell we filtered and redirected bittorrent packages(we used something like works just like routing tables). It worked great, redirected torrent and rapidshare. But it was using a proxy not VPN.
    ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •