LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2020, 08:05 PM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,688
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
routing by userid


i have been told this is possible by someone who clearly has no idea how so i have not become aware how and am not even sure it can be done. i tried a few searches on google an duckduckgo but just get basic networking info. what i want to do is route by userid. that is, regardless of the destination IP, i want traffic to go by way of a specific gateway for a particular userid. i have about 5 VPNs running to various places and about 18 logged in userids and want specific userids to use a specific VPN. how would something like this be set up?
 
Old 09-17-2020, 09:59 PM   #2
buttugly
Member
 
Registered: Feb 2006
Distribution: distrohopper
Posts: 58

Rep: Reputation: 16
https://serverfault.com/questions/58...ing-to-user-id
 
1 members found this post helpful.
Old 09-18-2020, 05:54 PM   #3
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,688

Original Poster
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
looks like a viable way to do it. i hope those mark number numberspaces are really separate from each other. using the same number for both would be a confusing example. if the mark numbers can go as high as userid numbers, i'd just make everything the same (fwmark = tablenum = userid).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root userid problem... farhan Linux - General 2 09-29-2003 06:44 PM
imici (IM) userid probs hekastos Linux - Software 0 09-12-2002 02:16 PM
UserID/Group Problems SpookMonkey Linux - General 0 05-09-2002 11:47 AM
useradd an all numeric userid cpaluch Linux - General 6 12-26-2001 05:12 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration