Destination NAT using ipnat in Solaris 8


 
Thread Tools Search this Thread
Special Forums IP Networking Destination NAT using ipnat in Solaris 8
# 1  
Old 03-07-2008
Destination NAT using ipnat in Solaris 8

Hello People,

Please can someone help me with destination IP address NAT and Port transalation using ipnat in Solaris 8.

Scenario: Box A(192.168.100.1/24) and Box B (192.168.100.50/24) are connected phyically and logically(vlan) on the same network switch.

Box A hosts an application(client) which needs to talk with an application (server) on hosted on BOX B. The requirement here is that Box A application has restrictions contacting the server application using the physical IP(192.168.100.50) and actual port no(5555/tcp). So I am trying a Destination IP nat and port translation using ipnat (ipf verion 3.4).

For eg: Box A will contact Box B using NAT IP(10.1.1.1) and translated port(7777/tcp).

Please help!

Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Ftp: SSL_connect error while connecting from source to destination server Solaris 10

Hi Everyone, I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

2. UNIX for Advanced & Expert Users

ipf/ipnat NAT/port forward issues

I've been going crazy trying to get this working. Here's the situation: we have a Solaris 10 box that connects an internal network to an external network. We're using ipf/ipnat on it. We've added a couple of new boxes to the internal network (192.168.1.100, .101) and want to be able to get to port... (1 Reply)
Discussion started by: spakov
1 Replies

3. IP Networking

Solaris 11 Express NAT/Router IP Fragments

Upon replacing my linux router/server with a Solaris one I've noticed very poor network performance. The server itself has no issues connecting to the net, but clients using the server as a router are getting a lot of IP fragments as indicated from some packet sniffing I conducted. Here was my... (3 Replies)
Discussion started by: vectox
3 Replies

4. Solaris

Solaris 11 Express NAT performance issues

Hi all, I decided to replace my linux router/firewall with Solaris 11 express. This is a pppoe connection directly to my server...no router boxes. I got everything setup, but the performance is terrible on the NAT....really slow. A web page that loads on the server instantly will take... (3 Replies)
Discussion started by: vectox
3 Replies

5. Linux

Freebsd IPNAT

I need to figure out how to exclude RDP from mapping, i am mapping as follows map le0 10.1.0.0/24 -> 10.1.0.10/32 however i need to exclude rdp so i can still rdp to machines on the 10.1.0.0/24 network.. Can somebody please advise how i could do this ? (0 Replies)
Discussion started by: boxalld
0 Replies

6. IP Networking

L2 nat

Hi All, Is there any possibility to change the IP address of a package according to its MAC address. It would be a sort of L2 NAT. (i.e. If the MAC address is 00:1A:A0:1E:XX:XX so the dir IP will be 192.168.X.X) Thanks!. (4 Replies)
Discussion started by: lagigliaivan
4 Replies

7. UNIX for Dummies Questions & Answers

Installing Solaris behind a windows NAT...

Greetings, and thank you for your time. I am cracking the whip to self-teach myself Unix because I think it will be the best platform for me to really open my mind and be creative. Sadly I lack anyone experienced in Unix to nag with questions, so you will be seeing a lot of me here I am sure... (4 Replies)
Discussion started by: Dustin
4 Replies

8. Cybersecurity

IPNAT / Transparent proxy loops...

Hi! My situation: I have an OpenBSD firewall/proxy (192.168.0.1), running IPF/IPNAT w/ Squid as transparent proxy. This machine is configured to be gateway to the network. This works great, all the clients WWW-requests on the internal network are rerouted to the proxyport by this... (0 Replies)
Discussion started by: indo1144
0 Replies

9. IP Networking

FreeBSD - NAT

Hi All! I have a Pentium 100 (32 MBRAM) with FreeBSD 4.4 installed on it and I am using it as a gateway. When I am downloading (or uploading) stuff simultaneously I see that natd is using up to 100% of the cpu capacity, hence the internet connection becomes blocked. My guess is I will have... (1 Reply)
Discussion started by: Ivo
1 Replies
Login or Register to Ask a Question
InternetSharing(8)					    BSD System Manager's Manual 					InternetSharing(8)

NAME
InternetSharing -- simple NAT/router configuration daemon SYNOPSIS
InternetSharing -d DESCRIPTION
InternetSharing is the back-end for the Internet Sharing feature. It is responsible for configuring the network interfaces, the DHCP server bootpd(8), the network address translation daemon natd(8), and the Internet domain name server named(8). named(8) is run in caching-only mode and allows the DHCP server to always offer the same DNS server address to the DHCP clients, regardless of the value of the actual DNS server addresses. The single command line option -d places additional debugging information to stdout/stderr. InternetSharing is launched by launchd(8) both at start-up and when the user turns Internet Sharing on in the Sharing preferences pane. By default, InternetSharing configures the IP addresses for non-AirPort interfaces starting at 192.168.2.1, walking up by one class C network (subnet mask 255.255.255.0) for each subsequent interface i.e. 192.168.3.1, 192.168.4.1, 192.168.5.1, and so on. The AirPort interface by default is assigned 10.0.2.1. CONFIGURATION
InternetSharing reads the property list com.apple.nat.plist stored in the /Library/Preferences/SystemConfiguration. Details of the com.apple.nat.plist are subject to change and are not completely documented here. The plist is a contract between the Sharing preferences pane and InternetSharing. Any details provided here are for informational purposes only. The plist is a dictionary with a single sub-dictionary called NAT containing properties to control which interfaces to use and other set- tings. It may also have a sub-dictionary called AirPort that is used to configure the AirPort interface when it is put into access point mode. One property worth mentioning is SharingNetworkNumberStart. This property controls the behavior of InternetSharing when it configures IP addresses for the local interfaces. The property is encoded as a string containing the dotted decimal network IP address, assumed to be a class C network. For example: <key>SharingNetworkNumberStart</key> <string>192.168.100.0</string> If the SharingNetworkNumberStart appears directly in the NAT dictionary, it controls the starting IP address chosen for the non-AirPort interfaces. If the property appears within the AirPort sub-dictionary, it controls the IP address assigned to the AirPort interface. The purpose of the property is to allow the user to avoid address collisions with existing NAT'd networks. SEE ALSO
bootpd(8), launchd(8), natd(8), named(8) Mac OS X Feburary 26, 2007 Mac OS X