--- embedaddon/mpd/conf/mpd.conf.sample 2013/07/22 08:44:33 1.1.1.2 +++ embedaddon/mpd/conf/mpd.conf.sample 2016/11/01 09:56:13 1.1.1.3 @@ -9,7 +9,7 @@ # in at the console. Lines without padding are labels. Lines # starting with a "#" are comments. # -# $Id: mpd.conf.sample,v 1.1.1.2 2013/07/22 08:44:33 misho Exp $ +# $Id: mpd.conf.sample,v 1.1.1.3 2016/11/01 09:56:13 misho Exp $ # ################################################################# @@ -106,7 +106,7 @@ dialin: multi_dialup: # -# Example of a multi-link dialup setup, using links "usr1" and "usr2" +# Example of a multi-link dialup setup, using links "L1" and "L2" # Similar to the first example, but uses two links together, and # does not do dial-on-demand. # @@ -278,8 +278,17 @@ pptp_client: # create bundle static B1 + set bundle enable compression + set ccp yes mppc + set mppc no e40 + set mppc yes e128 + set mppc yes stateless set iface route default set ipcp ranges 0.0.0.0/0 0.0.0.0/0 +# Enable network Address Translation (NAT) +# and forward tcp port 80 to the internal network machine with IP 192.168.0.1 + set iface enable nat + set nat red-port tcp 0.0.0.0 80 192.168.0.1 80 create link static L1 pptp set link action bundle B1