HI, i'm trying to update my configuration on one SRX210 (with VDSL card) for connecting to my FTTC.
Here it is my conf:
version 12.1X46-D55.3; system { host-name JuniperSRX210; time-zone Europe/Rome; root-authentication { encrypted-password "PASSWORD"; } services { ssh; telnet; xnm-clear-text; web-management { http { interface vlan.0; } https { pki-local-certificate srx210ssl; interface vlan.0; } } dhcp { pool 192.168.5.0/24 { address-range low 192.168.5.60 high 192.168.5.250; maximum-lease-time 57600; default-lease-time 28800; name-server { 8.8.8.8; 8.8.4.4; 80.80.80.80; 80.80.81.81; } router { 192.168.5.1; } } static-binding 00:00:00:00:05:09 { fixed-address { 192.168.5.60; } host-name qnap-nas; } static-binding e0:46:9a:a0:b6:bc { fixed-address { 192.168.5.70; } host-name netgear-nas; } static-binding bc:60:a7:79:4f:50 { fixed-address { 192.168.5.80; } host-name sony-ps4; } static-binding 88:75:56:07:5f:0a { fixed-address { 192.168.5.90; } host-name cisco-voip; } static-binding 00:05:cd:2e:da:0b { fixed-address { 192.168.5.100; } host-name denon-avr; } static-binding 10:60:4b:df:13:eb { fixed-address { 192.168.5.107; } host-name hp-7500a; } static-binding 00:ce:40:02:68:e5 { fixed-address { 192.168.5.110; } host-name mede8er-mp; } static-binding bc:5f:f4:54:0a:21 { fixed-address { 192.168.5.115; } host-name thx-pc; } propagate-settings ge-0/0/0.0; } dynamic-dns { client link.dyndns.com { server dyndns; agent dyndns; username USERNAME; password "PASSWORD"; interface pp0.0; } } } syslog { archive size 100k files 3; user * { any emergency; } file messages { any critical; authorization info; } file interactive-commands { interactive-commands error; } } max-configurations-on-flash 5; max-configuration-rollbacks 5; license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } } interfaces { ge-0/0/0 { unit 0 { family inet { dhcp; } } } ge-0/0/1 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/5 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/6 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } fe-0/0/7 { unit 0 { family ethernet-switching { vlan { members vlan-trust; } } } } at-1/0/0 { vlan-tagging; vdsl-options { vdsl-profile auto; } unit 0 { encapsulation ppp-over-ether; vlan-id 835; } } pp0 { traceoptions { flag all; } unit 0 { point-to-point; ppp-options { pap { default-password "USERl"; local-password "PASSWORD"; passive; } } pppoe-options { underlying-interface at-1/0/0.0; client; } no-keepalives; family inet { negotiate-address; } } } vlan { unit 0 { family inet { address 192.168.5.1/24; } } } } routing-options { static { route 0.0.0.0/0 { next-hop pp0.0; metric 0; } } } security { address-book { global { address server-qnap 192.168.5.60/32; address server-netgear 192.168.5.70/32; address server-ps4 192.168.5.80/32; } } alg { ftp ftps-extension; mgcp disable; rsh; sccp disable; sip { disable; application-screen { unknown-message { permit-nat-applied; } } traceoptions { flag all; } } } flow { tcp-mss { all-tcp { mss 1350; } } } screen { ids-option untrust-screen { icmp { ping-death; } ip { source-route-option; tear-drop; } tcp { syn-flood { alarm-threshold 1024; attack-threshold 200; source-threshold 1024; destination-threshold 2048; timeout 20; } land; } } } nat { source { rule-set trust-to-untrust { from zone trust; to zone untrust; rule source-nat-rule { match { source-address 0.0.0.0/0; } then { source-nat { interface; } } } } } destination { pool nat-pool-qnap { address 192.168.5.60/32; } pool nat-pool-netgear { address 192.168.5.70/32; } pool nat-pool-ps4 { address 192.168.5.80/32; } rule-set main-rule-set { from zone untrust; rule qnap-57532 { match { destination-address 0.0.0.0/0; destination-port 57532; protocol tcp; } then { destination-nat { pool { nat-pool-qnap; } } } } rule qnap-3306 { match { destination-address 0.0.0.0/0; destination-port 3306; protocol tcp; } then { destination-nat { pool { nat-pool-qnap; } } } } rule netgear-21 { match { destination-address 0.0.0.0/0; } then { destination-nat { pool { nat-pool-netgear; } } } } rule netgear-1234 { match { destination-address 0.0.0.0/0; destination-port 1234; protocol tcp; } then { destination-nat { pool { nat-pool-netgear; } } } } rule netgear-9099 { match { destination-address 0.0.0.0/0; destination-port 9099; protocol tcp; } then { destination-nat { pool { nat-pool-netgear; } } } } rule ps4-80 { match { destination-address 0.0.0.0/0; destination-port 80; protocol tcp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-443 { match { destination-address 0.0.0.0/0; destination-port 443; protocol tcp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-1935 { match { destination-address 0.0.0.0/0; destination-port 1935; protocol tcp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-3478 { match { destination-address 0.0.0.0/0; destination-port 3478; protocol tcp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-3479 { match { destination-address 0.0.0.0/0; destination-port 3479; protocol tcp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-3480 { match { destination-address 0.0.0.0/0; destination-port 3480; protocol tcp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-udp-3478 { match { destination-address 0.0.0.0/0; destination-port 3478; protocol udp; } then { destination-nat { pool { nat-pool-ps4; } } } } rule ps4-udp-3479 { match { destination-address 0.0.0.0/0; destination-port 3479; protocol udp; } then { destination-nat { pool { nat-pool-ps4; } } } } } } } policies { from-zone trust to-zone untrust { policy default-permit { match { source-address any; destination-address any; application any; } then { permit; } } } from-zone untrust to-zone trust { policy server-access-qnap { match { source-address any; destination-address server-qnap; application app-set-qnap; } then { permit; } } policy server-access-netgear { match { source-address any; destination-address server-netgear; application app-set-netgear; } then { permit; } } policy server-access-ps4 { match { source-address any; destination-address server-ps4; application app-set-ps4; } then { permit; } } } } traceoptions { file flowtrace size 10m world-readable; } zones { security-zone trust { host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { vlan.0; } } security-zone untrust { screen untrust-screen; host-inbound-traffic { system-services { all; } protocols { all; } } interfaces { at-1/0/0.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } pp0.0 { host-inbound-traffic { system-services { all; } protocols { all; } } } } } } } applications { application app-qnap-57532 { protocol tcp; destination-port 57532; } application app-qnap-3306 { protocol tcp; destination-port 3306; } application app-netgear-1234 { protocol tcp; destination-port 1234; } application app-netgear-9099 { protocol tcp; destination-port 9099; } application app-ps4-80 { protocol tcp; destination-port 80; } application app-ps4-443 { protocol tcp; destination-port 443; } application app-ps4-1935 { protocol tcp; destination-port 1935; } application app-ps4-3478 { protocol tcp; destination-port 3478; } application app-ps4-3479 { protocol tcp; destination-port 3479; } application app-ps4-3480 { protocol tcp; destination-port 3480; } application app-ps4-udp-3478 { protocol udp; destination-port 3478; } application app-ps4-udp-3479 { protocol udp; destination-port 3479; } application-set app-set-qnap { application app-qnap-57532; application app-qnap-3306; } application-set app-set-netgear { application junos-ftp; application app-netgear-1234; application app-netgear-9099; } application-set app-set-ps4 { application app-ps4-80; application app-ps4-443; application app-ps4-1935; application app-ps4-3478; application app-ps4-3479; application app-ps4-3480; application app-ps4-udp-3478; application app-ps4-udp-3479; } } vlans { vlan-trust { vlan-id 3; l3-interface vlan.0; } }
But i've this error on commit
Warning(s):
1) vlan-tagging
2) }
Any suggestions?
Thanks