View Single Post
Hei. Takk for svar.
Leser lengre opp i posten her at ip-adresse er endret til 10.133.0.0/16 ifra 172.x.x.x/16.

Kunne du hjulpet meg med å korrigere statiske router for tv-prefix, og det med nat på vlan 101?

Nå er config slik:

Da kommer hvertfall tv portalen opp. men tv2 osv er sorte. nrk fungerer.

firewall {
all-ping enable
broadcast-ping disable
ipv6-name WANv6_IN {
default-action drop
description "WAN inbound traffic forwarded to LAN"
enable-default-log
rule 10 {
action accept
description "Allow established/related sessions"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
ipv6-name WANv6_LOCAL {
default-action drop
description "WAN inbound traffic to the router"
enable-default-log
rule 10 {
action accept
description "Allow established/related sessions"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
rule 30 {
action accept
description "Allow IPv6 icmp"
protocol ipv6-icmp
}
rule 40 {
action accept
description "allow dhcpv6"
destination {
port 546
}
protocol udp
source {
port 547
}
}
}
ipv6-receive-redirects disable
ipv6-src-route disable
ip-src-route disable
log-martians enable
name WAN_IN {
default-action drop
description "WAN to internal"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
name WAN_LOCAL {
default-action drop
description "WAN to router"
rule 10 {
action accept
description "Allow established/related"
state {
established enable
related enable
}
}
rule 20 {
action drop
description "Drop invalid state"
state {
invalid enable
}
}
}
receive-redirects disable
send-redirects enable
source-validation loose
syn-cookies enable
}
interfaces {
ethernet eth0 {
address dhcp
description Internet
duplex auto
firewall {
in {
ipv6-name WANv6_IN
name WAN_IN
}
local {
ipv6-name WANv6_LOCAL
name WAN_LOCAL
}
}
speed auto
vif 101 {
address dhcp
description IPTV
dhcp-options {
default-route no-update
default-route-distance 210
name-server update
}
mac XX:XX:XX:XX:XX
}
vif 102 {
address dhcp
description Internet
firewall {
in {
name WAN_IN
}
local {
name WAN_LOCAL
}
}
}
}
ethernet eth1 {
description Local
duplex auto
speed auto
}
ethernet eth2 {
description Local
duplex auto
speed auto
}
ethernet eth3 {
description Local
duplex auto
speed auto
}
ethernet eth4 {
description Local
duplex auto
speed auto
}
loopback lo {
}
switch switch0 {
address 192.168.1.1/24
description Local
mtu 1500
switch-port {
interface eth1 {
}
interface eth2 {
}
interface eth3 {
}
interface eth4 {
}
vlan-aware disable
}
}
}
protocols {
igmp-proxy {
interface eth0.101 {
alt-subnet 172.21.0.0/16
role upstream
threshold 1
}
interface eth1 {
alt-subnet 0.0.0.0/0
alt-subnet 10.0.0.1/8
role downstream
threshold 1
}
}
static {
route 10.133.0.0/16 {
next-hop 10.202.112.1 {
description IPTV_2
distance 1
}
}
route 172.21.0.0/16 {
next-hop 10.174.210.1 {
distance 1
}
}
}
}
service {
dhcp-server {
disabled false
hostfile-update disable
shared-network-name LAN {
authoritative enable
subnet 192.168.1.0/24 {
default-router 192.168.1.1
dns-server 192.168.1.1
lease 86400
start 192.168.1.38 {
stop 192.168.1.243
}
}
}
static-arp disable
use-dnsmasq disable
}
dns {
forwarding {
cache-size 150
listen-on switch0
}
}
gui {
http-port 80
https-port 443
older-ciphers enable
}
nat {
rule 5000 {
description "Masquerade LAN to WAN"
log disable
outbound-interface eth0.102
protocol all
source {
address 192.168.1.0/24
}
type masquerade
}
rule 5001 {
description "Masquerade LAN to WAN"
log disable
outbound-interface eth0.101
protocol all
source {
address 192.168.1.0/24
}
type masquerade
}
}
ssh {
port 22
protocol-version v2
}
unms {
disable
}
}
system {
host-name ubnt
login {
user Stig {
authentication {
encrypted-password $6$vMvYS4I1mDO$UIGCRPXRvGz/BTkEpqapgMQCnEBeP2ZAFxkCzThPWHVKNDSi7D6jEQcHj.2sghNYzqZyZiCj 319PILbWv2Aqd/
}
level admin
}
}
ntp {
server 0.ubnt.pool.ntp.org {
}
server 1.ubnt.pool.ntp.org {
}
server 2.ubnt.pool.ntp.org {
}
server 3.ubnt.pool.ntp.org {
}
}
offload {
hwnat enable
ipsec enable
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone Europe/Oslo
}

ser noen noen umiddelbare feil?
Sist endret av Olstig; 14. oktober 2020 kl. 12:27. Grunn: Automatisk sammenslåing med etterfølgende innlegg.