Debian Configuration :: Setting Up NAT And Firewalling For Both IPv4 And IPv6
Mar 21, 2010
setting up NAT and firewalling for both IPv4 and IPv6. The machine is headless, so everything must be configured via CLI. I've done all IPv4 firewall configuration writing iptables rules in a bash script so far
View 1 Replies
ADVERTISEMENT
Feb 25, 2011
I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.
View 1 Replies
View Related
Jul 8, 2010
Since I got the liquorix kernel installed on my machine I got an error of setting kernel variable error. net.ipv6.bindv6only at boot time, since it wasnt a big deal I never looked further into it, but now that I had some spare time and I didnt want to see any errors on my machine I found a solution for it, with a little googling all we need to do is read the /usr/share/doc/procps/README.Debian and bingo no more error i hope this help anyone else with the same problem. I did the 3rd suggestion on that file to load the module in /etc/modules cheers.
View 4 Replies
View Related
May 6, 2011
I've got a Ubuntu Linux box that has two IPv4 addresses and an IPv6 address. This is my current /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0 eth0:0
[code]....
View 1 Replies
View Related
Jul 3, 2011
I'm running a native dual-stack (ipv4 & ipv6) dsl connection.So, I've been adding firewall rules, cleaning up unwanted processes, etc to tighten security.I'm left with only 3 processes that are listening to ports. mysql, ipp & ssh.Still not quite sure I need mysql. I run Amarok but without using a database, so I don't actually use sql for anything that I'm aware of.Anyway, my question is;Is it possible to make any any of these processes listen to ipv4 only or ipv6 only? Is there a distinction there at all?
Example- ssh is currently listening to port 22 on both tcp & tcp6. I do all my ssh connections using 'ssh -6', so, Can I make ssh listen to tcp6 only, or ignore tcp ?
View 3 Replies
View Related
Sep 1, 2011
On my 10.04 LTS Ubuntu Server installation, apache2 doesn't bind to ipv4. It does bind to ipv6. I didn't notice this at first, because from my home connection I could visit the webpages without trouble. I noticed it running netstats -ta:
Code:
tcp 0 0 localhost:10024 *:* LISTEN
tcp 0 0 localhost:10025 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 localhost:spamd *:* LISTEN
[Code].....
View 2 Replies
View Related
Feb 19, 2010
How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).
View 2 Replies
View Related
Feb 6, 2011
I'm using Ubuntu Linux as my operating system.In my network only the ipv4 is suported, and I need to access some website through ipv6. How can I do it, is there a way to tunnel from the ipv4 to ipv6.
View 2 Replies
View Related
Oct 29, 2010
After upgrading from 9.10 to 10.04, a hundred or so of (for example)
Code:
error (network unreachable) resolving '14.42.117.203.in-addr.arpa/PTR/IN': 2001:500:13::c7d4:35#53: 1 Time(s)
messages appear in syslog each day. Each URL has from 2 - 6 attempts at various ipv6 addresses. My question is why is bind9 trying to resolve ipv6 addresses? I have done nothing to enable or disable ipv6 and thought that if not explicitly enabled I would not have to be concerned with it.
View 1 Replies
View Related
Mar 12, 2010
How do you I use duel stack i.e How do I use ipv6 packet inside ipv4 packet using fedora kernel 12 ?
View 1 Replies
View Related
Aug 17, 2015
In one of my customers, the new internet connection have no public IPV4(using GCNAT), only public IPV6.
And there are various services that require external access, like, vpn (openvpn), a java/web system, ssh, rdp(windows).
fileServer(by vpn).
All is running ok in IPV4.Maybe, the solution is a NAT 6to4. We know this is the future, no more public IPV4.
View 0 Replies
View Related
Dec 28, 2015
Had an issue on one of my Debian stable servers the other day. After doing apt-get upgrade I was prompted to do autotoremove.
It wanted to autotremove
Code: Select allStart-Date: 2015-12-21 16:25:05
Commandline: apt-get autoremove
Remove: sendmail-cf:amd64 (8.14.4-8), exim4-config:amd64 (4.84-8), sendmail-base:amd64 (8.14.4-8)
End-Date: 2015-12-21 16:25:07
After doing this I rebooted my server (a few days later). After rebooting I had no ipv4. I tried statically assigning IP addresses to no avail. Ran ifconfig eth0 down/up which got me nowhere. Eventually decided to ask "Okay, what changed". Started installing packages that were autoremoved. Had to install from the apt cache using dpkg. First one I tried was sendmail-base. Then did ifconfig eth0 down/up, which gave me networking back.
I have checked the dependencies for sendmail-base and I see nothing that would relate to networking, so I'm really confused on why this happened. I had backups of the server so I went a week back and noticed sendmail-base was installed at that time. So I went a day back, where sendmail-base wasn't installed, and installed it. Sure enough it brought back networking. I'm just stating this because it is more proof that sendmail-base was the missing component.
View 0 Replies
View Related
Sep 25, 2010
Howto disable IPV6 in Lenny?
I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases
# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.
[Code]....
alias ipv6 offbut howto check after restart if ipv6 was loaded or not?
View 7 Replies
View Related
Jul 16, 2010
Question (and Google results aren't making this clear): Ubuntu has both iptables & ip6tables installed. 1. If I set a rule in iptables, does that rule also apply to ipv6, or just ipv4?
2. If "no" to above, then it would be prudent to *also* set ip6tables rules as well if I want to maintain an active firewall, correct?
3. Does ip6tables rules have the same syntax and behavior (more or less) to iptables rules - i.e. can I just copy my iptables rules & change "iptables" to "ip6tables"?
4. Any gotchas or issues that I should be aware of?
View 9 Replies
View Related
Aug 14, 2010
I can connect & share my dual-boot PC with no problems under WinXPPro using wired or wireless. (I've another thread going trying to get the wireless-n usb adapter to work.) Two questions so I can get the wired shares to work. I want to copy beaucoup files from the Win7 PC to the dual-boot PC. When booting into XP, no problems. When booting into Ubuntu 10.04, nothing. I can see the Win7 PC but can't access it. My two questions then are these. First, is there some switch to enable fire & drive sharing under Lynx as there is under WinXP / 7? (Samba??) Second, how does one set the IPv4 address? Under WinXP it's one address and under Lynx it's another.
View 1 Replies
View Related
Oct 29, 2010
I'm forging a gateway server, We have 2 Internet connection that goes to a load balancer router, and goes to my centos server and from our server goes to a switch for Internet distribution or routing.
OS-CentOS 5.5
[root@server etc]# uname -srio
Linux 2.6.18-194.el5 i386 GNU/Linux
My eth0 and eth1 has the following configuration and IP
[root@server etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# VIA Technologies, Inc. VT6105/VT6106S [Rhine-III]
DEVICE=eth0
BOOTPROTO=none
[code]....
Disabling IPv4 packet forwarding but i already changed it to 1 at sysctl.conf One of the online forum says i need to configure the named.conf deleted some and run it(named.conf) and successful but still when I run network service I still get the :"Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0" The network is getting the IP range but it doesnt get any Internet connection.
View 3 Replies
View Related
Feb 8, 2011
I decided to try and get my network ready for IPv6. All of my hosts are set up to do stateful autoconfig, I have radvd installed and working, and I can ping6 ipv6.google.com from my Ubuntu server. However, when one of the clients on the inside tries to ping6, no packets return and I get this message in the router's syslog:
Code:
Feb 8 17:55:17 foo kernel: [ 1344.824474] Dead loop on virtual device tun6to4, fix it urgently!
View 5 Replies
View Related
Jan 5, 2011
I would like to run a mailing daemon on my system that would receive incoming mail and forwards it to my Gmail account. I have no experience in mail services and forwarding mail at all. where to start reading and/or look for clues?
View 3 Replies
View Related
Apr 9, 2011
I have two ethernet NIC's on my debian server. One built-in Realtek [eth0] (attached to internet), and a PCI Nvidia ethernet card [eth1] (attached to my Win7 netbook). I used this guide to setup the bridge: url. It worked when I was behind a router. But when I moved the computer in front of the router, to direct connect to the internet, the internet stopped functioning on any device that I plug into my Nvidia NIC. The name of my bridge is 'br0'. Does anyone know how to fix it, so I can route the internet to my second NIC?
My Win7 netbook displays this at an 'ipconfig' command:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix:
Link-local IPv6 Address.....: fe80::143e:4cab:f802:8611%12
Autoconfiguration IPv4 Address..: 169.254.134.17
Subnet Mask.......:255.255.0.0
Default Gateway......:
My Debian interfaces file:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo br0
iface lo inet loopback
# Set up interfaces manually, avoiding conflicts with, e.g., network manager
iface eth0 inet manual
iface eth1 inet manual
# Bridge setup
iface br0 inet dhcp
bridge_ports eth0 eth1
View 10 Replies
View Related
Jun 22, 2011
I just installed Debian 6 squeeze on a P3, 632 MB RAM, 20 GB HD, and am trying to get it on-line. Ran lspci and lsusb on it (advice from another forum). Got the following results:
[Code]....
Exactly what I am trying to do: Existing network is as follows: Comcast internet to cable modem to Belkin N Wireless Router Model F5D 8236-4 v3. That router is wired to one desktop (running Windows XP)and has 4 wifi notebooks (two running Windows 7 and two running Mint 9 Isadora) and two Wii consoles running off of it. I am seeking to add another desktop to the network in another room without having to drill some holes and run about 40 feet of cable. Seems like it shouldn't take much to get the two routers to "talk" to each other so I can do this. The router I am trying to hook to it is either a Belkin F5D 9230-4 wireless router or a NetGear N150 WNR1000 v2 Wireless router.
View 6 Replies
View Related
Dec 1, 2010
i have installed ns2.33 and added mobiwan , i tried to run tcl script after modifyng simple tcl which i have got along mobiwan patch, but the problem is after creating some nodes and setting their positions in the tcl, according to my topology, i tried to run , but the command i have included in tcl , which sets the positions for mobile nodes, has no effect , which means that the positions of the mobile nodes is already fixed , trough tcl i am not able to change , and also each time when i run nam , different positions mobile nodes taking, and also the mobile node is not moving , even if i have given mobility to it, at different time , i have given different destinations.this is part of tcl in which i have set positions mobile node.
Code:
set cn_ [create-router 0.0.0]
set router_ [create-router 1.0.0]
set bs1_ [create-base-station 1.1.0 1.0.0 200 200 0]
set bs2_ [create-base-station 1.2.0 1.1.0 200 600 0]
set bs3_ [create-base-station 1.3.0 1.2.0 600 200 0]
code....
View 4 Replies
View Related
Sep 18, 2015
I have a problem activating the hotspot on my debian 8. The issue is that I can't activate the hotspot to give other devices wifi connection.
I have the correct driver packages from the non-free repositories (firmware-realtek) and this service (hotspot) worked fine on distros like Ubuntu, Mint and Fedora .
I tried hostapd but it didn't work. I'm using cinnamon desktop.
View 0 Replies
View Related
Apr 5, 2010
I'm trying to set up a small web server with php and sqlite support. I installed lighttpd, php5, php-sqlite3 and php5-sqlite3. Then, I enabled sqlite and pdo extensions in php.ini:
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so
However, when I try to open a SQLite3 database from php:
$database = new SQLiteDatabase($myDB, 666, $error);
I get the following exception:
SQLiteDatabase::__construct() [sqlitedatabase.--construct]: file is encrypted or is not a database
Some readings in the net make me think that my php settings are not compatible with SQLite3 databases. Is anyone successfully working with SQLite3 databases from PHP5 under Debian? Have you any recommendations? Should I rebuild php maybe?
View 3 Replies
View Related
Nov 26, 2010
I am putting together a server and computer lab at my school for Standardized testing, and am planning on using debian for it. But first, i must prove to the school board that this is a possible and viable option, so right now it is one pc with 1 gig ram (Going to be the server for this experiment), and two others with around 512 mb ram.the problem with all this is, the computers in the lab cannot have hard drives, as there is some sort of licencing issue. So I need to be able to have these two testing computers boot from the server's hard drive.
View 14 Replies
View Related
Jan 3, 2011
I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?
View 7 Replies
View Related
Jan 7, 2011
We have the following server at collocation: [URL]
Provider's technicians were working for 3 hrs but finally were unable to set up hardware RAID1 on it.
What could prevent them from doing it? Is it difficult to set up RAID1? It is mentionned as basic function in specifications.
They said debian not booting after raid configured...
View 2 Replies
View Related
Mar 23, 2011
I am trying to figure out what needs to be done to automatically set read/write permissions for everyone for my proprietary USB device on system boot. I have created a udev rules file which changes the permissions for the device when it is connected, but it does not change the permissions when the system is booted with the device already connected. The file looks like this:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="our vendor id", MODE="0666"
Does something else need to be added to the rules file to make it work when the system boots with the device connected? Is there some other script which needs to be created somewhere?
View 1 Replies
View Related
Apr 30, 2011
Would like to know the best way (or the pros and cons of different ways) to set up Alsa. I did a search for information on how to setup alsa on my system. I found a lot of out-of-date information even on the alsa wiki. What I did finally locate was two different methods for setup, both seemed somewhat up-to-date. One method at the alsa wiki said to put part of the information in the modprobe directory in a conf file and set up certain aliases. Earlier suggestions for putting information in modprobe.conf or conf.modprobe appear to be outdated and a directory with separate files for each device and a conf extension to the files is currently used. The second method from a thread on the Debian forum said to use alsactl init, set sound levels the way you want and then use alsactl save and restore functionality. Older methods using alsaconf instead of alsactl init appear to be outdated as well. Not sure where to put the call to alsactl restore though. Didn't notice that in the documentation.In case it matters, I'm running Debian Stable and have a built-in sound card on the motherboard with AC97 compatibility. It's a Realtek ALC882.
Is there a preferred or better method for setting up alsa? Is there a good pointer to instructions that are not out-of-date somewhere? Would be very interested to hear how others set sound up on their machines. What do others recommend as best steps to do this?
View 5 Replies
View Related
Jul 2, 2011
New to linux in general and am having issues on setting up a Raid 1 array for two disks on an HP Proliant Microserver which I am looking to be accessible from my windows PC. I have installed the latest version of debian succesfully on a 250GB disk that came with the server. I have added 2 2TB disks which I would like to have in a RAID 1 array and to have visible from windows to store music/videos etc on. I have managed to partition the two disks to FAT32 (which I think is best) and have managed to configure the array so that it shows as active when I use cat /proc/mdstat. I have been following the steps in this article [URl]... squeeze-p2 and trying to adapt it to my situation.
I am stuck on the step to create the file systems using the mkfs command. I try mkfs.vfat /dev/md0 and it comes up with the error mkfs.vfat: command not found. I have tried mkfs -t vfat /dev/md0 and it give the error "mkfs.vfat: No such file or directory" So my question is how can I continue with the process of setting up the array? Or maybe I should be asking is it possible to set up an array with FAT32 formatted disks?
View 2 Replies
View Related
Jul 16, 2011
Setting up my Squeeze test box, I can't seem to get APache2 to find index.html. It keeps coming up with the initial "It works!" page.
On my Squeeze server, the /etc/apache2/httpd.conf file contains this line:
DocumentRoot /home/www_local
and that box serves the website perfectly.
On the test box, I created the /home/www_local directory and put an index.html file in it, then populated /etc/apache2/httpd.conf with exactly the same DocumentRoot line and restarted Apache. Still the same result -- Apache isn't finding my index.html file. I have grep'ed all the files in /etc/apache2 and /etc/apache2/conf.d looking for 'DocumentRoot' and it's not in any of them.
View 2 Replies
View Related