Comments (5)
If the httpd server is on the router, the dest would not need to be lan. It could be omitted.
config redirect
option target 'DNAT'
option name 'httpd'
option family 'ipv4'
list proto 'tcp'
option src 'wan'
option src_dport '80'
option dest_port '8079'
from openwrt.
If the httpd server is on the router, the dest would not need to be lan. It could be omitted.
Hi Dave, and thanks!
:8079 is a filter (before the server) that I'd want to be on the LAN (to be able to move it with ease). When the filter is in another (LAN) machine this works, but as soon as I move it to the router stops working because the source address it gets is wrong (only for the LAN clients).
I'd like to know why the reflection stops working depending on the destination, and if that's a bug or my bad (something I'm misunderstanding, very likely!).
Cheers,
from openwrt.
Tested:
Hostname openWrt
Model LeMaker Banana Pro
Architecture ARMv7 Processor rev 4 (v7l)
Target Platform sunxi/cortexa7
Firmware Version OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38
Kernel Version 5.15.150
(same redirect config)
And it does the same: only works if :8079 is in another machine.
from openwrt.
I've also tested using other ports, just in case :80 had somehow a different behavior due to LuCI, but it makes no difference.
from openwrt.
Could this have something to do with it?
from openwrt.
Related Issues (20)
- MT7621 openwrt23.05.0 stress test reboot - f, unable to reboot, serial port stuck without any output HOT 1
- x86/64: CPU never reaches minimum frequency (AMD Ryzen 7 5800U)
- Enable VLAN filtering does not add WLAN interfaces to bridge, reboot is required HOT 1
- Linksys E8450 - Commit 1069514 is Causing High Load Average HOT 10
- I2C bus doesn't work in GL-AR750 HOT 2
- xdp-tools-1.4.2 bump causes build problems on qoriq HOT 1
- Inoperable WiFi on Linksys MX8500 (Easy Fix) HOT 1
- OpenWRT snapshot doesn't boot on Unifi Security gateway HOT 6
- WIFI disconnection seq timout HOT 3
- ipq4019 squashfs error HOT 3
- mt76 fails to build on Ubuntu 23.04 HOT 4
- Pine64 Rock64 EMMC not working HOT 5
- D-Link DWL-8610AP Kernel panic - not syncing: VFS: Unable to mount root fs HOT 4
- Issues with Xiaomi AX3200 after Installing OpenWRT HOT 5
- 6G not working due to missing options in /etc/config/wireless on ZyXEL EX5700 (Telenor)
- Transmission power settings incorrect for radio1 (6G) on ZyXEL EX5700 (Telenor)
- opkg sends GET to http proxy server when https_proxy is enabled HOT 5
- IPQ40XX: Kernel panic - not syncing: PSGMII work is unstable HOT 16
- Issue Report: Intel 82576 Network Card Instability in OpenWrt/ImmortalWrt 23 Versions HOT 1
- qualcommax/ipq807x: Redmi AX6: netifd: does not notify udhcp and the device does not get IP for WWAN (using wifi)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt.