version 1.1.1.2, 2013/07/22 08:44:33
|
version 1.1.1.6, 2021/03/17 00:39:23
|
Line 106 dialin:
|
Line 106 dialin:
|
|
|
multi_dialup: |
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 |
# Similar to the first example, but uses two links together, and |
# does not do dial-on-demand. |
# does not do dial-on-demand. |
# |
# |
Line 278 pptp_client:
|
Line 278 pptp_client:
|
# |
# |
|
|
create bundle static B1 |
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 iface route default |
set ipcp ranges 0.0.0.0/0 0.0.0.0/0 |
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 |
create link static L1 pptp |
set link action bundle B1 |
set link action bundle B1 |