- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to use the ifup-post command
Operating System - Linux
1822894
Members
3632
Online
109645
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 04:40 AM
тАО12-08-2003 04:40 AM
Hi all:
Got RH AS 2.1 server on PE 1650.
I have configured with maximum firewall and allow only ssh and http in. I need to be able to query the nameserver I have listed in the /etc/resolv file but the firewall blocks it. Also says to use the ifup-post file to allow for nameserver queries. Anybody know how to use the ifup-post file?
Got RH AS 2.1 server on PE 1650.
I have configured with maximum firewall and allow only ssh and http in. I need to be able to query the nameserver I have listed in the /etc/resolv file but the firewall blocks it. Also says to use the ifup-post file to allow for nameserver queries. Anybody know how to use the ifup-post file?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 04:59 AM
тАО12-08-2003 04:59 AM
Solution
On my system iptables I have put the following
to punch trought the firewall to the isp nameserver
-A -i eth0 -p udp -m udp -s xxx.xxx.xxx.xxx --sport 53 -d 0/0 -j ACCEPT
XXX.XXX.XXX.XXX to be remplace with your nameserver ip address
Hope this help you
J-P
to punch trought the firewall to the isp nameserver
-A -i eth0 -p udp -m udp -s xxx.xxx.xxx.xxx --sport 53 -d 0/0 -j ACCEPT
XXX.XXX.XXX.XXX to be remplace with your nameserver ip address
Hope this help you
J-P
Smile I will feel the difference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 05:00 AM
тАО12-08-2003 05:00 AM
Re: how to use the ifup-post command
/etc/sysconfig/network-scripts/ifup-post
ifdown-post and ifup-post ├в Contains commands to be executed after an interface is brought up or down.
I didnt find docs but the script is short and not very complex. Just check what it is doi
ifdown-post and ifup-post ├в Contains commands to be executed after an interface is brought up or down.
I didnt find docs but the script is short and not very complex. Just check what it is doi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 09:17 AM
тАО12-08-2003 09:17 AM
Re: how to use the ifup-post command
The docs are "/usr/share/initscripts-*/sysconfig.txt".
It states (simply) that it brings up routes (using ifup-routes), aliases (ifup-aliases) and a few other bits an pieces.
The last few lines on my RH8 box look for an executable file '/sbin/ifup-local'. If you have sepecific things you want done aftewards, I'd suggest creating one of these.
It gets passed the device name as it's only parameter.
It states (simply) that it brings up routes (using ifup-routes), aliases (ifup-aliases) and a few other bits an pieces.
The last few lines on my RH8 box look for an executable file '/sbin/ifup-local'. If you have sepecific things you want done aftewards, I'd suggest creating one of these.
It gets passed the device name as it's only parameter.
One long-haired git at your service...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP