Sponsored Content
Operating Systems Linux Red Hat Assign port dedicatedly against an interface ! Post 302415050 by Corona688 on Wednesday 21st of April 2010 03:10:31 PM
Old 04-21-2010
This can be configured in many ways but before I'd go through the headache of setting up iptables, I'd first try and configure it in the daemons themselves. You'd configure ssh to listen for connections on 192.168.10.x where x is whatever IP your server has, etc, etc.
 

10 More Discussions You Might Find Interesting

1. Solaris

How to assign MAC address to N/W interface in solaris

I m having interface ce0 ce1 and its sub interfaces for that. I want to give MAC addresses for the same. How will I assign it. Please give solution for the same (4 Replies)
Discussion started by: sunray
4 Replies

2. IP Networking

assign mac address for virtual interface eth1:0

Hi , by default the physical interface (eth1) and virtual interface eth1:0 will be having same mac address, is there any way we can assign separate mac addresses for both the interfaces. would some one help me out in this. Thanks Gopi (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

3. Solaris

How to assign a dedicated network interface to a non-global zone?

We got a network card(e1000g0) with 1gb of speed and working with global zone. We got a new network interface card, we have to place that in slot and we have to use that card as dedicated network interface to the non-global zone(hyd_app) in V890. As i never done this before, please explain me... (2 Replies)
Discussion started by: Sesha
2 Replies

4. Web Development

Need to run Nagios Web Interface on a different port

Hi, During Nagios install we added the following piece of config to apache httpd.conf file and it runs on the regular port 80, now if I want to run this on a different port then what needs to changed to make it run on lets say port 8080. I tried adding Virtual servers but was getting... (1 Reply)
Discussion started by: jacki
1 Replies

5. UNIX for Dummies Questions & Answers

How to assign multiple IPs to Aggregated interface in Solaris 10?

I have 2 physical interfaces (bnx0 and bnx1) aggregated into aggr1. I need to assign second IP, and normally I know how to do it to physical interface (i.e. bnx0:1) however same trick (aggr1:1) is not working. Is there any way to do it? (0 Replies)
Discussion started by: bratan
0 Replies

6. Red Hat

iptable port forwarding between two lan interface

Hi, How can I config iptables to allow port forwarding from one WAN interface to second lan interface . In my system I have one wan interface 61.93.204.56 (eth0),and lan interface 10.2.1.52(eth1) I want to make port forward port no 22 from 61.93.204.56 to port 22 , 10.2.1.52 , tcp and udp... (1 Reply)
Discussion started by: chuikingman
1 Replies

7. IP Networking

Simple port fwd. 1 interface

I have been tearing my hair out with this (and not enough left to keep going). I have a linux box (raspberry pi) single ethernet interface in a heavily filtered DMZ with external ports fwd'd that can access an internal IP's (different subnet). I want to forward the traffic. Should be simple I... (0 Replies)
Discussion started by: martyuiop
0 Replies

8. IP Networking

IPv6 address block assign/associate with an interface

Hello all, I am trying to receive (tcp/udp/sctp) traffic from all IPs and, eventually, all ports of an IPv6 address block using as few sockets as possible short of implementing my own network stack. One possible solution was to associate an IP block to an interface then bind to that... (6 Replies)
Discussion started by: redwil
6 Replies

9. IP Networking

Port based multi interface routing

Hello, I wanted to setup routing certain traffic (http/s) out via a second (faster) interface, like described in the following docs (may not post urls): linux-ip.net /html/adv-multi-internet.html thegeekstuff.com /2014/08/add-route-ip-command/ I already had this working years ago on... (0 Replies)
Discussion started by: hyphan
0 Replies

10. Solaris

How to assign IPv4 and IPv6 addresses with same interface?

Hello dears how to assign IPv4 and IPv6 addresses with same interface on solaris 10 (1 Reply)
Discussion started by: ttashman
1 Replies
nameserv::server(n)					       Name service facility					       nameserv::server(n)

__________________________________________________________________________________________________________________________________________________

NAME
nameserv::server - Name service facility, Server SYNOPSIS
package require Tcl 8.4 package require nameserv::server ?0.3.2? package require comm package require interp package require logger ::nameserv::server::start ::nameserv::server::stop ::nameserv::server::active? ::nameserv::server::cget -option ::nameserv::server::configure ::nameserv::server::configure -option ::nameserv::server::configure -option value... _________________________________________________________________ DESCRIPTION
Please read Name service facility, introduction first. This package provides an implementation of the serviver side of the name service facility queried by the client provided by the package nameserv. All information required by the server will be held in memory. There is no persistent state. This service is built in top of and for the package comm. It has nothing to do with the Internet's Domain Name System. If the reader is looking for a package dealing with that please see Tcllib's packages dns and resolv. This server supports the Core protocol feature, and since version 0.3 the Search/Continuous feature as well. API
The package exports five commands, as specified below: ::nameserv::server::start This command starts the server and causes it to listen on the configured port. From now on clients are able to connect and make requests. The result of the command is the empty string. Note that any incoming requests will only be handled if the application the server is part of does enter an event loop after this command has been run. ::nameserv::server::stop Invoking this command stops the server and releases all information it had. Existing connections are shut down, and no new connec- tions will be accepted any longer. The result of the command is the empty string. ::nameserv::server::active? This command returns a boolean value indicating the state of the server. The result will be true if the server is active, i.e. has been started, and false otherwise. ::nameserv::server::cget -option This command returns the currently configured value for the specified -option. The list of supported options and their meaning can be found in section OPTIONS. ::nameserv::server::configure In this form the command returns a dictionary of all supported options, and their current values. The list of supported options and their meaning can be found in section OPTIONS. ::nameserv::server::configure -option In this form the command is an alias for "::nameserv::server::cget -option]". The list of supported options and their meaning can be found in section OPTIONS. ::nameserv::server::configure -option value... In this form the command is used to configure one or more of the supported options. At least one option has to be specified, and each option is followed by its new value. The list of supported options and their meaning can be found in section OPTIONS. This form can be used only if the server is not active, i.e. has not been started yet, or has been stopped. While the server is active it cannot be reconfigured. OPTIONS
The options supported by the server are for the specification of the TCP port to listen on, and whether to accept non-local connections or not. They are: -localonly bool This option specifies whether to accept only local connections (-localonly 1) or remote connections as well (-localonly 0). The default is to accept only local connections. -port number This option specifies the port the name service will listen on after it has been started. It has to be a positive integer number (> 0) not greater than 65536 (unsigned short). The initial default is the number returned by the command ::nameserv::server::com- mon::port, as provided by the package ::nameserv::server::common. HISTORY
0.3 Extended the server with the ability to perform asynchronous and continuous searches. 0.2 Changed name of -local switch to -localonly. 0.1 Initial implementation of the server. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category nameserv of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. SEE ALSO
nameserv::client(n), nameserv::common(n) KEYWORDS
name service, server CATEGORY
Networking COPYRIGHT
Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net> nns 0.3.2 nameserv::server(n)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy