LinuxQuestions.org
Visit Jeremy's Blog.
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 08-23-2018, 06:00 AM   #1
AlSpring
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Rep: Reputation: Disabled
Deny access for VPN users


Hi guys!
The users connect to the network 192.168.1.0/24 from others locations through the VPN by getting the addresses 192.168.200.0/24. I want to allow all VPN users access just for ip 192.168.1.50 (connection via smb to file server). For everything else, access is denied (including access to devices through the browser). Can you help me to do it?
 
Old 08-23-2018, 10:02 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Nobody can give you anything more than vague help you because you've provided no useful information.

For example you do not specify how your VPN is designed, whether it's terminating on a VPN device, a firewall, or if you're using something internal to your network such as having it terminate on a linux server.

The vague answer is "configure your firewalls properly", "configure your VPN termination point properly", or use IP Tables rules on all the individual machines in 192.168.1.0/24 to reject incoming connections from 192.168.200.0/24.
 
Old 08-23-2018, 10:43 AM   #3
AlSpring
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for a reply!
The VPN (OpenVPN) server is configured on the router that gives the network 192.168.1.0/24 by DHCP. Users connect to the VPN server (not from 192.168.1.0/24) by getting an ip address 192.168.200.0/24 and have access to the network 192.168.1.0/24.
 
  


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
Deny users access to DVD Drive brian2009 Linux - Newbie 8 03-31-2010 06:14 AM
SSL VPN access meant for mac users...how can i get in with linux? mma8x Linux - Software 8 03-07-2010 01:34 PM
deny browse access to users iinfi Linux - Server 2 01-15-2009 12:52 AM
Block access to VPN users spide21 Linux - Security 4 11-09-2008 02:37 AM
Deny some users access to the web with IPtables? osX-linux Linux - Networking 4 06-22-2003 01:42 PM

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

All times are GMT -5. The time now is 01:24 AM.

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