Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connection from the internet to a single internal system

Status
Not open for further replies.

clarissa1996

Technical User
Joined
Jan 31, 2002
Messages
78
Location
CH
I have a client connected to the internet (which has a fixed IP address) that needs to access a system connected on my internal network.

I have tryed to use our VPN-Server (PPTPD on a Linux Server).
All works ok. But how can I avoid that this client sees all my internal network ? It seems me that with PPTPD this is not possible to do.

Therefore I have tryed another method.
I have configured my firewall (Iptables on a Linux Server) to redirect all the traffic from this client to my internal system.

Example:

iptables -t nat -A PREROUTING -s external_address -j DNAT --to internal_address

This works !
My questions are:
1) Is this last solution formally correct ?
2) Is there a better solution (perhaps with VPN) ?

Thanks for any help. Clarissa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top