Problem with Multiple IPV4 Wan Adresses to internal Servers

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Fox1Lead
DD-WRT Novice


Joined: 17 Jul 2008
Posts: 7

PostPosted: Tue Nov 03, 2020 4:33    Post subject: Problem with Multiple IPV4 Wan Adresses to internal Servers Reply with quote
Hi i have a Problem with my Setup on
Router-Modell
TP-Link TL-WR841ND v10
Firmware-Version
DD-WRT v3.0-r44700 std (10/30/20)
Kernel Version
Linux 3.18.140-d5 #95164 Fri Oct 30 01:19:33 GMT 2020 mips

before i had a Wrt54 gl with much older Software version

I have 3 Ip V4 Wan adresses and Want to bind 2 on virtual internal interfaces to get the data to my servers

The following config was working on my old router for some years.

If thats a wrong way to do it, it would be perfect if you can give me a advice
WanIP1 is setup in normal config and is working without any problems



Thank you very much & regards


Last edited by Fox1Lead on Tue Nov 03, 2020 9:28; edited 1 time in total
Sponsor
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 9157

PostPosted: Tue Nov 03, 2020 5:34    Post subject: Reply with quote
When you dump ifconfig and the firewall, are any of those configurations present?

Code:
ifconfig
iptables -vnL FORWARD
iptables -t nat -vnL PREROUTING
iptables -t nat -vnL POSTROUTING


Given the difference in age between the two routers, if I had to guess, there's a good chance the WAN interface name has changed from vlan1 to vlan2. That's why it's better to NOT hardcode such values but instead determine them dynamically.

Code:
WAN_IF="$(ip route | awk '/^default/{print $NF}')"

_________________
ddwrt-ovpn-split-basic.sh (UPDATED!) * ddwrt-ovpn-split-advanced.sh (UPDATED!) * ddwrt-ovpn-client-killswitch.sh * ddwrt-ovpn-client-watchdog.sh * ddwrt-ovpn-remote-access.sh * ddwrt-ovpn-client-backup.sh * ddwrt-mount-usb-drives.sh * ddwrt-blacklist-domains.sh * ddwrt-wol-port-forward.sh * ddwrt-dns-monitor.sh (NEW!)
Fox1Lead
DD-WRT Novice


Joined: 17 Jul 2008
Posts: 7

PostPosted: Tue Nov 03, 2020 6:51    Post subject: Reply with quote
you was right, tutorial did the trick

Last edited by Fox1Lead on Tue Nov 03, 2020 9:27; edited 1 time in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Tue Nov 03, 2020 8:44    Post subject: Reply with quote
Some things have changed, I think, see: https://wiki.dd-wrt.com/wiki/index.php/Access_To_Modem_Configuration

and this might be one of those TP Link routers with a switch which is not working with VLAN's or needs extra startup commands, not sure about this

This question belongs to Advanced networking, I will transfer it

To get the best out of DDWRT and the forum, read and follow the forum guidelines:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum