Your Ad Here Your Ad Here
Arcade NZBs WTO Guides Forums Home
Welcome to FileSharing Talk.  ( Register | Log in )
SuperNews Special   GigaNews Special

   

Reply
 
Thread Tools
KFlint
  #1 Old 08-28-2007, 01:25 AM
 
KFlint's Avatar
K
 
Join Date: Mar 2007
Age: 30
Posts: 4,270
Is it possible to do this on Linux?
Hi,

I'm having the following situation on my linux server and don't know how to fix it

I have 3 users that log on remotly to the server using TightVNC.

My server has one network card but three different IPs available.

So far, i've configure the server to respond to the primary IP and the two aliases by configuring the eth0 interface.

But i would like to bind one IP to one user, the other Ip to another one etc... so they would all appear like having different IP while browsing the web with firefox for example.

Is it something possible? i have no clue how to do it after looking for that for a while. I managed to bind specific IP in utorrent without problem though, this is just a variable to fill.

Thx for the help, i'm sure there is a Linux god out there to help me
Reply With Quote KFlint is offline  
Click to Register Registering will remove these ads.
Click to Register
Sponsored Links

Your Ad Here Giganews Newsgroups Your Ad Here

Your Ad Here Unlimited Usenet
Your Ad Here

Your Ad Here RapidPeer.com Managed Seedbox Services Your Ad Here
KFlint
  Linux Software   -   #2 Old 08-30-2007, 05:00 PM
 
KFlint's Avatar
K
 
Join Date: Mar 2007
Age: 30
Posts: 4,270
Had my answer on a linux forum, thx anyway!
Reply With Quote KFlint is offline  
zapjb
  Linux Software   -   #3 Old 08-30-2007, 05:43 PM
 
zapjb's Avatar
Computer Abuser
 
Join Date: Nov 2002
Posts: 3,694
BT Rep: +3
usa
So what is the answer?
__________________
BIGCRUMBS You deserve a BITE.
Reply With Quote zapjb is offline  
KFlint
  Linux Software   -   #4 Old 08-30-2007, 09:20 PM
 
KFlint's Avatar
K
 
Join Date: Mar 2007
Age: 30
Posts: 4,270
the way i found is by using iptables

you can NAT the ip address of each outgoing packet to a certain IP address and that, by user id.

Exactly, what i wanted to do

that would be something like that :

iptables -t nat -A POSTROUTING -m owner --uid-owner 1100 -j SNAT --to 192.168.100.100

easy to do ain't it?
Reply With Quote KFlint is offline  
dbmp
  Linux Software   -   #5 Old 08-31-2007, 01:24 AM
 
dbmp's Avatar
ubuntu <3
 
Join Date: Jul 2007
Posts: 627
Quote:
Originally Posted by KFlint View Post
the way i found is by using iptables

you can NAT the ip address of each outgoing packet to a certain IP address and that, by user id.

Exactly, what i wanted to do

that would be something like that :

iptables -t nat -A POSTROUTING -m owner --uid-owner 1100 -j SNAT --to 192.168.100.100

easy to do ain't it?
No... Linux is hard work... That's why like it.
Reply With Quote dbmp is offline  
KFlint
  Linux Software   -   #6 Old 08-31-2007, 01:40 AM
 
KFlint's Avatar
K
 
Join Date: Mar 2007
Age: 30
Posts: 4,270
linux is great fun
Reply With Quote KFlint is offline  

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Your Ad Here Great Deals At NewEgg.com Your Ad Here

The time now is 08:13 AM

Page Generation Time0.09sec    Query Count9 queries Talkgold - Sexy Pictures - Money E-Books - Onlive Forum - Wallpapers for Zunes
Contact Us - FileSharing Talk - Archive - Disclaimer - Top

Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
FileSharingTalk.com - All Rights Reserved