hi
im confuse why i got this error at 2/1 but the upper script 2/0 looks correct is any missing character or numbers? please help hehe
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=offices_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=customer_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=pabx_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=cctv_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=doorlocksystem_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=ether11 connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=ISP1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=s.management_vlan connection-mark=ISP2_conn dst-address-type=!local \
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=servers_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=offices_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=customer_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=pabx_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=cctv_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=doorlocksystem_vlan connection-mark=no-mark dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
[/size][/size]
Toiletbowl:
hi
im confuse why i got this error at 2/1 but the upper script 2/0 looks correct is any missing character or numbers? please help hehe
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=offices_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=customer_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=pabx_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=cctv_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=doorlocksystem_vlan connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=WAN1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=ether11 connection-mark=ISP1_conn dst-address-type=!local
... per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark=ISP1_conn
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=s.management_vlan connection-mark=ISP2_conn dst-address-type=!local \
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=servers_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=offices_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=customer_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=pabx_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=cctv_vlan connection-mark=ISP2_conn dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
syntax error (line 1 column 30)
[myron@Fairways Boracay] /ip firewall mangle> add chain=prerouting in-interface=doorlocksystem_vlan connection-mark=no-mark dst-address-type=!local
[myron@Fairways Boracay] /ip firewall mangle> per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark=WAN2_conn
[/size][/size]
hi i solve the issue of this sysntax line error, however my pcc + webproxy + hotspots working fine but i have another problem wont connect the client pc belong on 192.168.101.x connect to server which part of 192.168.100.x this is a opera system use for hotel for example client pc 192.168.101.10 and opera server 192.168.100.7 because the opera client uses thin client on port 80 to connect on the opera server. if i disable the pcc it connect again.
add address=xxx.xx.xx.xxx/24 comment=pldt_uplink interface=WAN1 network=xxx.xx.xx.xxx
add address=xxx.xx.xx.xxx/24 comment=globe_uplink interface=WAN2 network=xxx.xx.xx.xxx
add address=192.168.99.1/24 comment=switches_address interface=s.management_vlan network=192.168.99.0
add address=192.168.100.1/24 comment=servers_address interface=servers_vlan network=192.168.100.0
add address=192.168.101.1/24 comment=offices_address interface=offices_vlan network=192.168.101.0
add address=192.168.108.1/24 comment=managers_address interface=managers_vlan network=192.168.108.0
add address=192.168.208.1/21 comment=customer_address interface=customer_vlan network=192.168.208.0
add address=192.168.200.1/24 comment=pabx_address interface=pabx_vlan network=192.168.200.0
add address=192.168.50.1/24 comment=cctv_address interface=cctv_vlan network=192.168.50.0
add address=192.168.51.1/24 comment=doorlock_address interface=doorlocksystem_vlan network=192.168.51.0
add action=mark-connection chain=input disabled=yes in-interface=WAN1 new-connection-mark=wan1_conn
add action=mark-connection chain=input disabled=yes in-interface=WAN2 new-connection-mark=wan2_conn
add action=mark-connection chain=output disabled=yes dst-port=80 new-connection-mark=wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=output disabled=yes dst-port=80 new-connection-mark=wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=s.management_vlan
new-connection-mark=wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=s.management_vlan
new-connection-mark=wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=servers_vlan new-connection-mark=
wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=servers_vlan new-connection-mark=
wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=offices_vlan new-connection-mark=
wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=offices_vlan new-connection-mark=
wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=managers_vlan new-connection-mark=
wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=managers_vlan new-connection-mark=
wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=cctv_vlan new-connection-mark=
wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=cctv_vlan new-connection-mark=
wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=doorlocksystem_vlan
new-connection-mark=wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=doorlocksystem_vlan
new-connection-mark=wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=customer_vlan new-connection-mark=
wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=customer_vlan new-connection-mark=
wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=pabx_vlan new-connection-mark=
wan1_conn per-connection-classifier=both-addresses:2/0 protocol=tcp
add action=mark-connection chain=prerouting disabled=yes dst-address-type=!local dst-port=!80 hotspot=auth in-interface=pabx_vlan new-connection-mark=
wan2_conn per-connection-classifier=both-addresses:2/1 protocol=tcp
add action=mark-routing chain=output connection-mark=wan1_conn disabled=yes new-routing-mark=to_wan1
add action=mark-routing chain=output connection-mark=wan2_conn disabled=yes new-routing-mark=to_wan2
thanks