LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-28-2013, 06:28 AM   #1
Recif2
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Need help with iptables (routing)


Hello,

My dedicated server has its main ip nullrouted but have 2 other ips affected. I've setup up bind and apache to use the new IP but all smtp outgoing traffic seems to be blocked:


Jan 27 21:52:23 xxxxx named[15705]: error (network unreachable) resolving 'mx1.hotmail.com/A/IN': 2001:7fd::1#53
Jan 27 21:52:24 xxxxx named[15705]: error (network unreachable) resolving 'wanado.fr/MX/IN': 2001:7fe::53#53
Jan 27 21:52:24 xxxxx named[15705]: error (network unreachable) resolving 'wanado.fr/MX/IN': 2001:7fd::1#53
Jan 27 21:52:24 xxxxx named[15705]: error (network unreachable) resolving '125.234.15.218.in-addr.arpa/PTR/IN': 2001:500:3::42#53


Let say the main IP (nullrouted) is 1.1.1.223
The new ip is 1.1.1.242

My network config:

# Generated by iptables-save v1.4.8 on Fri Jan 25 15:42:18 2013
*nat
REROUTING ACCEPT [117819952:37612778332]
OSTROUTING ACCEPT [37975877:2452962977]
:OUTPUT ACCEPT [37975857:2452961893]
COMMIT
# Completed on Fri Jan 25 15:42:18 2013
# Generated by iptables-save v1.4.8 on Fri Jan 25 15:42:18 2013
*filter
:INPUT ACCEPT [23636:34253048]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [39582:73953382]



venet0 OpenVZ 127.0.0.1 255.255.255.255
Oui
venet0:0 OpenVZ (Virtualmin) 1.1.1.223 255.255.255.255
Oui
venet0:1 OpenVZ (Virtuel) 1.1.1.241 255.255.255.255
Oui
venet0:2 OpenVZ (Virtualmin) 1.1.1.242 255.255.255.255
Oui
venet0:3 OpenVZ (Virtuel) 1.1.1.243 255.255.255.255
Oui

Can someone help me please?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing with IPTables help jet-lee Linux - Networking 9 01-18-2008 01:48 AM
iptables routing Jaidan Linux - Networking 1 10-09-2007 04:59 PM
routing by iptables ali_dd15 Linux - Networking 14 10-14-2005 06:38 AM
iptables and routing palhope Linux - Networking 2 07-10-2003 01:01 PM
More Help routing with iptables LAR12345 Linux - Networking 2 02-02-2003 11:28 AM


All times are GMT -5. The time now is 12:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration