<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OpenWRT on Documentation</title><link>https://docs.daper.io/networking/openwrt/index.html</link><description>Recent content in OpenWRT on Documentation</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://docs.daper.io/networking/openwrt/index.xml" rel="self" type="application/rss+xml"/><item><title>tl-wr1043nd-v3</title><link>https://docs.daper.io/networking/openwrt/tl-wr1043nd-v3/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/networking/openwrt/tl-wr1043nd-v3/index.html</guid><description>Wiki: https://openwrt.org/toh/tp-link/tl-wr1043nd Firmware Install: download Firmware Upgrade: download Firmware OEM Stock: download
After flashing the firmware, the router will get the ip 192.168.1.1 on the LAN ports and DHCP on the WAN.
Test the network conectivity ping -c 4 8.8.8.8 Install necessary packages opkg update opkg install kmod-usb-storage block-mount opkg install kmod-fs-ext4 Load necessary kernel modules modprobe sd_mod modprobe usb-storage modprobe ext4 Format the usb as ext4
Configure the extroot mount /dev/sda /mnt # Copy data from /overlay partition to the USB tar -C /overlay/ -c .</description></item><item><title>Configure WAN as LAN</title><link>https://docs.daper.io/networking/openwrt/configure-wan-as-lan/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/networking/openwrt/configure-wan-as-lan/index.html</guid><description>/etc/config/network config interface &amp;#39;loopback&amp;#39; option ifname &amp;#39;lo&amp;#39; option proto &amp;#39;static&amp;#39; option ipaddr &amp;#39;127.0.0.1&amp;#39; option netmask &amp;#39;255.0.0.0&amp;#39; option ip6assign &amp;#39;60&amp;#39; option gateway &amp;#39;192.168.3.1&amp;#39; list dns &amp;#39;192.168.3.1&amp;#39; config globals &amp;#39;globals&amp;#39; option ula_prefix &amp;#39;fda8:b667:1ed9::/48&amp;#39; config interface &amp;#39;lan&amp;#39; option type &amp;#39;bridge&amp;#39; option ifname &amp;#39;eth1.1&amp;#39; option proto &amp;#39;static&amp;#39; option ipaddr &amp;#39;192.168.3.3&amp;#39; option netmask &amp;#39;255.255.255.0&amp;#39; option ip6assign &amp;#39;60&amp;#39; config switch option name &amp;#39;switch0&amp;#39; option reset &amp;#39;1&amp;#39; option enable_vlan &amp;#39;1&amp;#39; config switch_vlan option device &amp;#39;switch0&amp;#39; option vlan &amp;#39;1&amp;#39; option ports &amp;#39;1 2 3 4 5 0t&amp;#39;</description></item><item><title>OpenVPN</title><link>https://docs.daper.io/networking/openwrt/openvpn/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.daper.io/networking/openwrt/openvpn/index.html</guid><description>Install required packages opkg install openvpn-openssl luci-app-openvpn Copy .ovpn and .auth files to /etc/openvpn. Then add the following to /etc/config/openvpn.
config openvpn &amp;#39;metromarkets&amp;#39; option config &amp;#39;/etc/openvpn/metromarkets.ovpn&amp;#39; option enabled &amp;#39;1&amp;#39; /etc/config/network Append the following:
config interface &amp;#39;tun0&amp;#39; option ifname &amp;#39;tun0&amp;#39; option proto &amp;#39;none&amp;#39; /etc/config/firewall Add the interface tun0 to the wan zone.
[...] config zone option name &amp;#39;wan&amp;#39; option input &amp;#39;REJECT&amp;#39; option output &amp;#39;ACCEPT&amp;#39; option forward &amp;#39;REJECT&amp;#39; option masq &amp;#39;1&amp;#39; option mtu_fix &amp;#39;1&amp;#39; option network &amp;#39;tun0&amp;#39; [.</description></item></channel></rss>