![]() |
|
|||
|
Hi to all!!!
Please help! I have a question! I have two OpenBSD routers. Between them is the VPN. 1st router has access to the Internet. Behind 2nd router I have a LAN. How to give access to the Internet for the LAN through 1st router? Thanks to all! |
|
|||
|
Code:
internal Lan I
|
|
-------|------------
internal
router I
external
-------|-\----------
| \
| \
VPN \
| \ INTERNET
|
-------|------------
external
router II
internal
-------|------------
|
|
|
internal Lan II
The VPN is not a tunnel under/via the Internet?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
|
Internal LAN II needs access to Internet. VPN is a tunnel via Internet.
|
|
||||
|
You have not given us enough information to help you.
What VPN technology are you using? IPSec? OpenVPN? PPTP? Something else? OS Release? VPN technology release if applicable?
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I use IPSec. Obsd ver 4.5 and 4.4
|
|
||||
|
-If- I understand what you are asking for, you want users in LAN II to -not- use their own internet connection, but instead, use the internet connection in LAN I?
This is a routing issue, discussed in some detail recently in http://marc.info/?t=125331466600001&r=1&w=2
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
I think configuring a web/net proxy like Squid in Lan I would be the easiest.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
|
It is possible that route-to on each applicable pass rule would be sufficient.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Tags |
| routing, vpn |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| external drive partition question + fdisk question | gosha | OpenBSD General | 15 | 15th June 2009 02:00 PM |