Tak som to cele prekopal, aby vsetko islo z office ako server.
S tym EdgeRoutrom som sa potrapil.
Ping mi uz prechádza, ale na nic neprídem. Ani web ani telnet.
OFFICE
/interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
12 DR <pptp-1> pptp-in 1450
/ppp secret> print
Flags: X - disabled
10 NAME pptp PASS default 172.17.1.2
ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
1 ADS 0.0.0.0/0 213.x.y.160 0
2 ADS 192.168.8.0/24 172.17.1.2 1
3 SU 192.168.8.0/24 5
4 ADC 172.17.1.2/32 172.17.1.1 <pptp-1> 0
5 ADC 192.168.10.0/24 192.168.10.1 Office_net 0
6 ADC 213.x.y.160/32 213.z.z.218 net_Public 0
ubnt@ubnt# show interfaces pptp-client
pptp-client pptpc0 {
default-route none
mtu 1500
name-server auto
password PASS
server-ip 213.z.z.218
user-id PASS
}
ubnt@ubnt# show service nat
rule 5000 {
description "masq to VPN"
destination {
address 192.168.10.0/24
}
outbound-interface pptpc0
type masquerade
}
ubnt@ubnt# show protocols static
route 0.0.0.0/0 {
next-hop 192.168.202.1 {
}
}
route 192.168.10.0/24 {
next-hop 172.17.1.1 {
description "masq to VPN"
}
}
ubnt@ubnt# show firewall
all-ping enable
broadcast-ping disable
group {
network-group Net {
description NET
network 192.168.8.0/24
}
}
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
receive-redirects disable
send-redirects enable
source-validation disable
syn-cookies enable