How to share internet if the server connects to it via VPN?

Hi, mac brothers! Need your help.
I have a server with 2 ethernet cards (en0, en1). It connects to internet via VPN on en0. LAN clients connect to the server using en1. I can't share VPN internet connection to LAN %(. (tried to find the answer in the 10.4 server documentation, but there is nothing about it).
I know how to share internet connection when there is no VPN - direct connection via DSL modem...
Can you help me?
PS; 0S X Server 10.4.11

You need to use NAT and have the firewall running.
And then you need to use the VPN connection (PPTP?) "interface" (when connected), probably ppp0 - not en0, in your NAT config. This can be achieved by dragging the config (small symbol in lower right corner in NAT config in Server Admin) to the desktop, edit it (look for en0 and change it to ppp0), save it, and then drag it back into the NAT config window and save.
I think the VPN tunnel must be up before turning on NAT/firewall so if you reboot the server you might need to turn NAT/firewall off -> on to make it work again.
If the WAN/ppp0 IP is not static (so you can enter it in your server DNS) you probably will have trouble with many of OS X services running in the server.
Most OS X server installations using an Internet connection with a shifting public IP is better off by putting a NAT router which can do the in initial connection (by DHCP, PPTP, PPPoE, whatever), between it and the Internet.

Similar Messages

  • How to share internet-connection over vpn

    Hallo,
    first, sorry for my bad english...
    i have a mac mini 2011 with os x mavericks and os x server.
    i use a vpn connection for my mobile clients. these clients need to connect to the internet with the same connection as the server.
    how do i share the connection for my vpn clients?
    thx
    cgwaldt

    Mr. cgwaldt:
    I just ran some tests and confirmed the method.  To mask your ip address via your vpn do the following.
    1. Create a vpn connection to your server.
    2. Use Finder to start your ScreenSharing.app.  This app is located at /System/Library/CoreServices/ScreenShare
    3. When you start the app, it will ask you for the ip address of the network computer.  Enter the ip address of your server.
    4. Log in with a registered account on that server.
    5. Do all your work through the shared screen.
    I have taken a screen shot.  You will see two browsers in the screen shot.  One is open on my local computer, and the other is open on the ShareScreen app.  The one in the ShareScreen app shows the static IP address of my office.  The one that is on my local machine shows the dynamic IP address provided by my mobile internet provider.  Note, my advice in a previous post was not entirely correct; I am forcing all traffic through the VPN tunnel in this picture, and I expected my local machine to have the static ip address that is the same as the one in the ShareScreen app.  Even with all network traffic going back to my home server, I run into the problem that you spoke of, but the solution is to use that connection to work from a home computer, and then the problem is solved.
    Any work you do on your server using the ShareScreen app will use internet packets marked with your static IP address.  The connection was not nearly as slow as I had thought it would be. There is a delay between the typing of text and the appearing of the text on the screen, but if you are good at typing, this should not slow you down.
    In this example, the webpage that is showing 173.198.104.130 would be the one that you would use for your billing.  That IP address is the static IP of my office, which is where the "Mavericks1" computer is located.
    For this test, I used a mobile hotspot on an Android Ice Cream Sandwhich operating system running on an HTC Rizound celular phone.  The connection speed is mediocre, and the delay was not bad.  If you are working in a hotel or have access to a much better wireless connection, then the delay will probably be minimal at best.
    I hope this helps.
    -Jared

  • A connection to the QuickTime server could not be established. This computer may be having trouble accessing the Internet or the server may be offline

    When I select “Update existing software in QuickTime Pro I get an error message saying “A connection to the QuickTime server could not be established. This computer may be having trouble accessing the Internet or the server may be offline”
    This has persisted for several weeks. Any help will be welcomed as I do not know how to contact QuickTime support via Apple.
    I am using Windows 7 64 bit.  
    Many thanks

    I was able to download and install the latest version of iTunes  (10.6.3.25) without a hitch. After the reboot I tried again to update my exisitng Quicktime Pro software as described in my original posting and got exactly the same error message.
    If it happens that there is no software to download because I am already running the latest version, surely a message to that effect would appear and not the one saying “A connection to the QuickTime server could not be established. This computer may be having trouble accessing the Internet or the server may be offline”
    Still seeking advice if possible
    Cheers

  • Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost.  How can I fix this?

    Every time I try to sign on it says that ichat lost the connection to the AIM account and the server connection was unexpectedly lost.  How can I fix this?

    Note For others.
    For the Port Changes (or server names in some cases) you have to be logged out to make changes on the Server Settings pane.
    9:41 PM      Friday; October 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to share internet from mac to windows

    Any one helps me how to share internet from mac to windows? I have created an internet sharing on macbook, a Mac can connect to internet, but windows pc can't connect with this sharing. I don't know why?

    I am not a Windows guru. However, in XP there is a Wireless Network icon at the lower right side. Click on that, select the network you want to join, insert the password and that's it. Any issues speak to a Windows guru.

  • Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.

    Hello Sue,
    I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
    I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
    It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
    Michael

  • How to share internet from macbook pro to android phone?

    how to share internet from macbook pro to android phone?

    Sharing your Internet connection:
    http://support.apple.com/kb/PH6589
    http://www.maclife.com/article/howtos/how_wirelessly_share_internet_connection_m ac

  • There is a problem with the server connection.

    there is a problem with the server connection.
    this server is no longer exits, but when i'm using iphoto this popsup and i don't know how to solver it

    Follow the procedure on the page linked below to repair the database, and if that doesn't work, to rebuild it:
    Rebuilding the iPhoto library
    If you still have the problem after doing that, use the procedure on the page linked below to find and remove the invalid items:
    Connection Failed, Server Does Not Exist

  • I have 2 profiles on one computer. How to share music between the profiles in itunes?, I have 2 profiles on one computer. How to share music between the profiles in itunes?

    I have 2 profiles on one computer. How to share music between the 2 separate profiles in iTunes?

    iTunes: How to share music between different accounts on a single computer
    This might help. info provided by 'b noir'
    iMoz

  • (solved) hostapd no internet in the server

    this is my config
    laptop & android phone <----> wlan0 (hostapd with br0) <----> server <----> eth0 <----> rooter <----> internet
    (wlan0 is an eth5k card madwifi)
    (rooter is 192.168.0.1 give 192.168.0.11 to eth0)
    rc.conf
    eth0="eth0 up"
    wlan0="wlan0 up"
    br0="br0 192.168.1.2 netmask 255.255.255.0 up"
    INTERFACES=(lo eth0 wlan0 br0)
    bridges
    bridge_br0="eth0 wlan0"
    BRIDGE_INTERFACES=(br0)
    hostpad.conf
    interface=wlan0
    bridge=br0
    driver=nl80211
    bla bla
    all this work very well i can browse internet from my laptop and from my phone
    but i haven't access to internet with the server
    surely i miss comething
    thanks for your help
    Last edited by phoenixpb (2011-02-05 13:33:00)

    route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     *               255.255.255.0   U     0      0        0 br0
    humm should be 192.168.0.1 the adress of the rooter
    can i add another route for the server ?
    or wrong gateway ??
    ifconfig
    br0       Link encap:Ethernet  HWaddr 00:02:6F:8A:AE:13 
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::211:d8ff:febc:588f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:12 errors:0 dropped:1 overruns:0 frame:0
              TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1121 (1.0 Kb)  TX bytes:468 (468.0 b)
    eth0      Link encap:Ethernet  HWaddr 00:11:D8:BC:58:8F 
              inet6 addr: fe80::211:d8ff:febc:588f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:2175 (2.1 Kb)  TX bytes:1808 (1.7 Kb)
              Interrupt:19 Base address:0xc800
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:4 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:256 (256.0 b)  TX bytes:256 (256.0 b)
    mon.wlan0 Link encap:UNSPEC  HWaddr 00-02-6F-8A-AE-13-00-00-00-00-00-00-00-00-00-00 
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:30 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1777 (1.7 Kb)  TX bytes:0 (0.0 b)
    wlan0     Link encap:Ethernet  HWaddr 00:02:6F:8A:AE:13 
              inet6 addr: fe80::202:6fff:fe8a:ae13/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1849 (1.8 Kb)  TX bytes:3804 (3.7 Kb)
    Last edited by phoenixpb (2011-02-05 12:09:36)

  • How to change language of the server monitor ?

    hi all,
    How to change language of the server monitor ? i got it in japanese and would like to turn it into English.
    Thx for your help,

    We use japanese strings only when your server locale has "jp": FindNoCase("Japan", GetLocale()) NEQ 0. So you may not be able to individually change  server monitor's flash client, but there are two ways to change it back to english on server level
    1) Check your server locale and change it to anything but japanese.
    2) Rename smresource_en.xml to smresource_jp.xml in CFIDE\administrator\monitor (take a back up).
    Thanks,
    Chandan Kumar

  • Please help!  I try to connect to the Internet but appears inscription There is no expansion of kernel PPP. Yesterday I used internet through the same connection- Dsl pppoe

    Please help!  I try to connect to the Internet but appears inscription There is no expansion of kernel PPP. Yesterday I used internet through the same connection- Dsl pppoe. Wi fi cannot connect too. On ipad and iphone it is work.

    That's odd.
    Try this: Unplug your Time Capsule and your router. On your MBP, click the Wi-Fi icon and select "Open Network Preferences".
    Click the lock icon to authenticate, then click the "gear" and select "set service order". Wherever AirPort (or Wi-Fi - I forget what Snow Leopard calls it) appears, drag it elsewhere in the list. Click OK, then Apply, then power up your router and TC.
    If that doesn't result in any change, repeat the above but try making the service(s) you do not need "inactive".
    The purpose of this is to reset or at least change your Network Preferences, which somehow got confused upon upgrading to SL.

  • How to get internet on the go for iPad 2, is it possible? Thanks for ur help in advance...

    How to get internet on the go for iPad 2, is it possible? Thanks for ur help in advance...

    If you don't have cellular on your iPad, then you will need a public Wi-Fi access.

  • I downloaded IOS6 a week ago, now, all of a sudden the when I try to send emails the server connection fails. I have tried deleting and recreating the email account, but no good. Any suggestions?

    I downloaded IOS 6 a week ago and just last night the server connection fails when I try to send an email. I tried deleting and recreating the email account several times, but it still doen't work. Any ideas?

    Are you using yahoo? If so, wait it out. Yahoo has had a lot of issues lately and you just have to wait for them to fix it.

  • How do you find out the contacts that were updated via Facebook and twitter in the settings without having to figure it out manually?

    How do you find out the contacts that were updated via Facebook and twitter in the settings without having to figure it out manually?

    There is no such list of what is downloaded to each phone except in the backup. So if you have a recent backup of each phone you should be able to find an app that reads the backup files and would tell you what list is saved of the content on each phone.

Maybe you are looking for

  • IOS 6.1.3 and Exchange Calendar Sync issues

    I have a staff member in our association who has recently upgraded to IOS 6.1.3 on her iPhone and ever since, whenever she creates an event on her iPhone calendar that is synced with her work Exchange account, it will appear on Outlook on her compute

  • How can I use the battery and let it be perfectly healthy?

    Hello everybody! I love this forum because everyone is a great helpful person.. .. However, I'd like to ask you couple things about the MacBook battery... I know that now the battery has been improved, it leasts longer and it can support 1000 chargin

  • Why can I no longer watch movies in itunes?

    Downloaded a movie and had no problem watching it. Today I try to watch it again and no luck. What's going on? I purchased the movie from the Apple Store

  • Difference between different persistency providers?

    Hi, In the JPA examples I saw the use of two different TopLink Essentials persistency providers, namely: oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider oracle.toplink.essentials.PersistenceProvider Does anyone know which one should b

  • 500GB Maximum Hard Drive

    Do you think we will see this increase sometime soon ? I know laptops are not intended to carry as much as your desktop but I would rather work on a laptop where I can have everything at hand on the move. .....and with all the music, videos and HD me