hi, i have a working version of openwrt i created some time ago. now i thought i upgrade because… thought maybe something got improved or bugfixes/security/whatever…
so i built openwrt as i usual do with my files/ config but somehow when my mobile phone connects via wifi, i got an error (IP-Konfigurationsfehler). Wierd tho, all other devices (laptop etc.) worked. So i thought easy, i start from scratch. I deleted $OPENWRT/files, used the default .config, added my packages and started to configure… but… i am failing in the very beginning with udpxy and its driving me crazy. this took the whole day and i dont find the problem.
So i have a working SD and a non-working SD. is anyone willing to help me? I can provide all logs and configs, i just need to know which are relevant. As i guess network, wireless and udpxy are the most important ones, here we go:
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
option flow_offloading '1'
option flow_offloading_hw '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
config zone
option name 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
list network 'vpn'
config zone
option name 'sfpwan'
list network 'sfpwan'
list network 'sfpwan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
config forwarding
option src 'lan'
option dest 'sfpwan'
config rule
option name 'Allow-DHCP-Renew'
option src 'sfpwan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'sfpwan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'sfpwan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP-Broadcast'
option src 'sfpwan'
option proto 'udp'
option dest_ip '224.0.0.0/4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'sfpwan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'sfpwan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'sfpwan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'sfpwan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'sfpwan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'sfpwan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config rule
option name 'Allow-Wireguard'
list proto 'udp'
option src 'sfpwan'
option dest_port '51820'
option target 'ACCEPT'
config forwarding
option src 'vpn'
option dest 'sfpwan'
config rule
option name 'Allow-Input-UDPXY'
list proto 'tcp'
option src 'vpn'
option dest_port '4022'
option target 'ACCEPT'
config udpxy
option disabled '0'
option respawn '1'
option verbose '0'
option status '1'
option bind '0.0.0.0'
option port '4022'
# option source '0.0.0.0'
# option max_clients '3'
# option log_file '/var/log/udpxy'
# option buffer_size '4096'
# option buffer_messages '-1'
# option buffer_time '-1'
# option nice_increment '0'
# option mcsub_renew '0'
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'xxx::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'sfp-lan'
list ports 'wan'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6addr 'xxx8::1/64'
config device
option name 'sfp-wan'
option macaddr 'xxx'
config interface 'sfpwan'
option device 'sfp-wan'
option proto 'dhcp'
option peerdns '0'
list dns '192.168.1.1'
config interface 'sfpwan6'
option device 'sfp-wan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option norelease '1'
option peerdns '0'
config ntpserver
option hostname '216.239.35.12'
option port '123'
config interface 'vpn'
option proto 'wireguard'
option private_key 'xxx'
option listen_port '51820'
list addresses '192.xxxx'
config wireguard_vpn
option description 'xxx'
option public_key 'xxx'
option persistent_keepalive '25'
list allowed_ips '192xxx'
option route_allowed_ips '1'
config wireguard_vpn
option description 'laptop'
option public_key 'xxx'
option private_key 'xxx'
list allowed_ips '192.1xxxx2'
option route_allowed_ips '1'
config wireguard_vpn
option description 'handy'
option public_key 'xxx'
option private_key 'xxx'
option route_allowed_ips '1'
list allowed_ips '192.168.xxxxx2'
if anything else is missing, please let me know, i can provide them.
If its enough to list the same configs now for the not-working version, i will do so in a couple of hours when i can reboot the device.