07-18-2013
Change source ip on static internet
Hi,
Environment:
Linux: Ubuntu 12.04
I am connected to internet using static ip. This means my internet provider Pacenet has assigned me static ip. Now, whenever I am trying to change source ip for tcp/ip (ip4) using iptables firewall, I am unable to access internet at all.
Can anybody help me in this?
Question: Is this possible to change source IP, when I am accessing internet through static ip?
Question: if yes for question. Can you please let me know the process?
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
I need to change the time on my SUN box, it is five minutes fast. (4 Replies)
Discussion started by: michelemcdonald
4 Replies
2. News, Links, Events and Announcements
Apparently some of Microsoft's source code is circulating on the Internet. You can see a response from Microsoft here. I would like to remind everyone that according to our rules: "These are not hacker boards so hacker related posts will be promptly deleted or moderated." And this certainly... (1 Reply)
Discussion started by: Perderabo
1 Replies
3. UNIX for Advanced & Expert Users
Hello,
I would like to modify my firewall configuration for being able to handle 2 internet connections in my Red zone.
I would then like to configure some selecting routing rules depending on the internal source.
Actual configuration:
=====================
1 router A (ISP)... (1 Reply)
Discussion started by: el70
1 Replies
4. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
5. IP Networking
hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first.
... (0 Replies)
Discussion started by: dlwoaud
0 Replies
6. UNIX for Dummies Questions & Answers
I had just install a solaris 10 server. I set the ip address to static during installation. I want to change it to dynamic but I don't know how. Expert here please help me! (5 Replies)
Discussion started by: jimmyysk
5 Replies
7. UNIX for Dummies Questions & Answers
Hey everyone!
I am trying to configure iptables/netfilter so that all traffic coming from a certain port (8001) has its source ip re-written as a different ip. Can this be done?
Basically its a possible workaround for another issue I'm having with a multihomed server. SNMP data is coming in on... (3 Replies)
Discussion started by: msarro
3 Replies
8. UNIX for Dummies Questions & Answers
I configured my linux server with Static IP address out of the range of the DHCP linksys router, but cannot get on the internet.
When I switch back to "Automatically obtain IP address" ..then I can get on the internet.
Can comeone help with this. (2 Replies)
Discussion started by: FrankOscar
2 Replies
9. HP-UX
I have solved this but now cannot recall the syntax. I want to strip or change the hard wired library paths on binaries I download from a repository. I do not have root and just want a personal install, but would rather not build every tool. I even posted the solution here once for others, but... (2 Replies)
Discussion started by: DGPickett
2 Replies
10. UNIX for Advanced & Expert Users
I'm considering the merits of slightly redefining the "domain" field in a NIS netgroup (the third field in the triple) to make it more useful, in a new Internet Draft that I am currently developing. Does anyone out there who uses NIS actually make use of the "domain" field? The places I've worked... (8 Replies)
Discussion started by: cambridge
8 Replies
LEARN ABOUT DEBIAN
ost_ipv6host
ost::IPV6Host(3) Library Functions Manual ost::IPV6Host(3)
NAME
ost::IPV6Host -
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
SYNOPSIS
#include <address.h>
Inherits ost::IPV6Address.
Public Member Functions
IPV6Host (const char *host=NULL)
Create a new host address for a specific internet host.
IPV6Host (struct in6_addr addr)
Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address
object.
IPV6Host & operator&= (const IPV6Mask &mask)
Mask the internet host address object with a network mask address.
Friends
class __EXPORT IPV6Mask
__EXPORT IPV6Host operator& (const IPV6Host &addr, const IPV6Mask &mask)
Additional Inherited Members
Detailed Description
This object is used to hold the actual and valid internet address of a specific host machine that will be accessed through a socket.
Author:
David Sugar dyfet@ostel.com Address of a specific Internet host machine.
Constructor & Destructor Documentation
ost::IPV6Host::IPV6Host (const char *host = NULL)
Create a new host address for a specific internet host. The internet host can be specified in a null terminated ASCII string and include
either the physical host address or the DNS name of a host machine. Hence, an IPV6Host ('www.voxilla.org') can be directly declaired in
this manner.
Defaults to the IP address that represents the interface matching 'gethostname()'.
Parameters:
host dns or physical address of an Internet host.
ost::IPV6Host::IPV6Host (struct in6_addraddr)
Convert a system socket binary address such as may be returned through the accept() call or getsockpeer() into an internet host address
object. Parameters:
addr binary address of internet host.
Member Function Documentation
IPV6Host& ost::IPV6Host::operator&= (const IPV6Mask &mask)
Mask the internet host address object with a network mask address. This is commonly used to coerce an address by subnet.
Friends And Related Function Documentation
friend class __EXPORT IPV6Mask [friend]
__EXPORT IPV6Host operator& (const IPV6Host &addr, const IPV6Mask &mask) [friend]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::IPV6Host(3)