References: CVE-2009-3322Here's how I successfully made MyPlex / PlexPass work with a VPN.Secure Pipes is an ssh tunnel and SOCKS proxy manager for Mac OS X. The Siemens Gigaset SE361 WLAN router allows remote attackers to cause a denial of service (device reboot) via a flood of crafted TCP packets to port 1723. When you only occasionally need to securely access a remote Mac OS X computer, server, or even a whole network, you can use a technique called SSH port forwarding to create secure connections to access specific types of resources.Mac OS X Server VPN service also uses port 1723 (TCP). Although VPN solutions are great for securely connecting to and accessing resources on remote networks, they require some expense and setup.Create this port forwarding config file: Use the Terminal app to access the command line. Mavericks 10.9 ( EDIT: And Yosemite 10.10) uses "pf" which is "The OpenBSD Packet Filter" for this type of thing (older Mac OS might have used ipfw or iptables) Copy the randomly generated port number for later where you see VPN_PORT (replace VPN_PORT with your random port) Let it assign a random port, and let it forward to the same local port.sudo pfctl -vnf /etc/pf.anchors/simons.plex.vpn.forward Verify that you've got the syntax correct: Replace VPN_PORT with the random port you got before.# To allow access to Plex Media Server from outside the VPN AirVPNRdr pass inet proto tcp from any to any port $VPN_PORT -> 127.0.0.1 port 32400
Click the button (Update/Retry/whatever). Check the box "Manually specify port" and enter VPN_PORT. Make sure you are signed in with your plexpass. Go to Plex Media Server web interface > Settings > Server > Connect pf doesn't run by default on Mavericks so start it up: It should automatically connect now. (Otherwise your phone might connect on the local network and that's not what we want.) Check it works with your Mobile phone or whatever Crossover for mac freeOn OpenVPN this is called "Mapped to public IP". Go to your VPN port forwarding website and get the Public IP. Now test if it's working through your VPN. You should see (after a few seconds maybe):Trying 192.168.2.42. Test if forwarding is working by doing the following from another computer on your local network: Once you can see it works you can turn WiFi back on.Please help make this unnecessary: If you'd like to request that Plex Server be modified so that this isn't needed any more, please vote on this: Bug: listen to Manually Specified Port on VPN interface.The rest of this is just technical info and such, read if you're interested.I just want to note that if you're comfortable with the terminal you can use these commands to make debugging the connection a little easier: Port Forwarding Server Vpn Update Your DirectionsIf using Astrill, go to the "VPN Services" tab, switch the "Port Forward" to ON. If you are running it on your mac, then you don't need to change any router port forwarding at all, because the VPN will completely bypass the router.Just going to update your directions, you had a mistake on it (forgot "simons" in one area). If you are running your VPN on your router, then you need different instructions. Run these commands on the server as an admin user to enable the adaptive firewall.
0 Comments
Leave a Reply. |
Details
AuthorJoseph ArchivesCategories |